RE: HTNet_addAfter() Request terminate handler is called 272 time s ev ery second

I found the HTHost_killPipe() appears in our active_request() call back
function. The call back is set in
HTHost_setActivateRequestCallback(activate_request). When we found a request
wait more than 1 mins before it becomes active, we call HTHost_killPipe()
for both piplelined and non-piplelined requests. I think the HTHost_killPipe
must be called somewhere
in w3c library too, when there is a connection problem for piplelined
request.

About how many times the callback was called in a second in your code? How
long the problem
lasted? Are you using libwww 5.2.8 or other version?

Thanks,
Cecilia

-----Original Message-----
From: Fengyun Cao [mailto:fcao@CS.Princeton.EDU]
Sent: Thursday, April 26, 2001 4:27 AM
To: www-lib@w3.org; Guo, Xuan C, NNAD
Subject: Re: HTNet_addAfter() Request terminate handler is called 272
times ev ery second


I found this annoying too -- when one page from a site times out, all
requests on the host's
pipeline and pending list get deleted: in HTHost_killPipe it calls
HTTPCleanup for every such request,
which in turn calls your callback ( here is end_request ) when deleting the
net object.

Received on Friday, 4 May 2001 22:30:51 UTC