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

help wanted! key words : event loop, post, sockets, timers, pendi ng requests

From: Roland Bickel <r.bickel@cmg.nl>
Date: Tue, 19 Jun 2001 17:45:49 +0200
Message-ID: <3177CCDB4298D311B3CC0050043AF430946E73@NL-UTH-MAIL02>
To: "'www-lib@w3.org'" <www-lib@w3.org>

Hello all..

i surely hope someone can point out what i need to do here...

here goes:

When sending a number of POST requests to an http server (thanks Aileen for
your example !!), this works exactly 33 times, after which i get the
following messages in a debug session:

Net Object.. starting request 140276200 (retry=1) with net object 1400c2500
HTTP........ Looking for `http://192.168.92.130:9004/blabla
HTHost parse Looking up `192.168.92.130' on port 9004
Host info... Found Host 1400663c0 with no active channel
Host connect Grabbing lock on Host 1400663c0 with 1400c2500
Host info... Added Net 1400c2500 (request 140276200) as pending on pending
Host 1400663c0, 0 requests made, 0 requests in pipe, 1 pending
HTDoConnect. Pending...
HTHost 1400663c0 going to state TCP_CHANNEL.

Funny thing is, when i quit my program and run it again, i get exactly the
same behavior (or behaviour :-))

After which exactly nothing happens any more. My guess is that, since i use
my own eventloop, i need to register some extra callback functions in order
to handle pending requests. Am I right ? if so, what do i need to do ?and if
not, could someone point me towards the right direction ? 
It seems that whatever timer mechanism i use, those don't have any effect on
pending requests, but i suppose that's the way it's supposed to be.

Anybody any clue ?

Thanks in advance,
Roland Bickel
Received on Tuesday, 19 June 2001 11:46:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT