W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

HTNet_addAfter() Request terminate handler is called 272 times ev ery second

From: Guo, Xuan C, NNAD <xuanguo@att.com>
Date: Wed, 25 Apr 2001 18:20:46 -0400 (EDT)
Message-ID: <5D4748C37DDAD311B20400902786F0B9042718D2@njb140po17.ems.att.com>
To: www-lib@w3.org
Cc: "Guo, Xuan C, NNAD" <xuanguo@att.com>

We are using libwww 5.2.8 as an HTTP client sending GET message to customer
web server. Sometimes, when we are sending "Get" message to an closed web
server, we get lots of response messages with status = HT_TIMEOUT in a very
of time. I counted it. It is about 272 response messages in a second. We
register the request terminate handler through Global AFTER Filters by:

HTNet_addAfter(end_request, NULL, NULL, HT_ALL, HT_FILTER_LAST); 

In end_request(), we checks and prints the status of the response message.

Does anyone have any idea about any situation that can cause the terminate
handler end_request() is called every 3.6ms ? 

Maybe there is a patch for the problem. 

Any information you may have will be highly appreciated.

Received on Thursday, 26 April 2001 04:09:25 UTC

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