W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

HTNet_addAfter questions

From: Oliver Steinau <Oliver.Steinau@STencode.de>
Date: Fri, 17 Aug 2001 15:17:57 +0200
Message-ID: <2B88AE35C609DF4F852D31FFA6FD5EE601A389@CAESAR.STencode.de>
To: <www-lib@w3.org>
(using v. 5.3.2)

(sorry for asking "novice" questions -- I didn't find it in the docu...)

I registered a filter using 

        HTNet_addAfter(terminateCallback, 0, 0, HT_ALL, HT_FILTER_LAST);

Q1: is it true that this callback is called upon *completion* of each
Q2: what is this callback expected to return? (currently, I always
return HT_OK)
Q3: what am I supposed to do in this callback? (currently I delete the
request, but leave everything else intact)

I looked into the code (HTEvtLst.c) and saw that it does a break out of
the loop if the code returned is != HT_OK.

The symptom is that sometimes the HTEventList_loop() call does not
return after this callback has been called.... it still listens on
sockets (although I got a 400 status code), and just never returns....

Any help?


Received on Friday, 17 August 2001 09:18:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC