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

Re: errors in post request

From: Hanspeter Halle <hphalle@t-online.de>
Date: Wed, 7 May 2003 10:42:48 +0100
Message-Id: <200305070942.h479goN12522@blueberry.hphalle.de>
To: Daniel Stenberg <daniel@haxx.se>, www-lib@w3.org

Am Mittwoch, 7. Mai 2003 11:19 schrieb Daniel Stenberg:
> On Wed, 7 May 2003, Hanspeter Halle wrote:
> > 2. Switch off pipelining. So for every request a new TCP-connection will
> > be used.
>
> Sorry for bursting in here, on a different matter:
>
> I'm curious here. Are those the two options libwww offers? You either use
> pipelining OR you use a new TCP-connection for each request?
>
Sorry, my former statement was not correct. If you switch off pipelinig, the 
2nd request is delayed until the 1st is completely processed. That's the way 
it should be but I can't remember if libwww really works this way. Only if 
you switch back to HTTP 1.0 you'll get a single connection for each request.

> > 3. Try if my patch (see below) can still be applied to the current
> > version of libwww. It delays the transmission of the 2nd HTTP-Request
> > until the data for the 1st one has completely delivered.
>
> ... and only with your patch can you actually make multiple requests on the
> same connection without pipelining?
>

The patch still allowes pipelining, i.e. the 2nd request will be sent after 
the post data of the 1st request but before the result of the 1st request is 
being received.

> I'm sorry if these questions sound stupid, please point me to a suitable
> document where I can read this info if there's a suitable one somewhere.

libwww sources and RFC2616.

Hanspeter
Received on Wednesday, 7 May 2003 05:43:08 GMT

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