W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2002

Re: Problem with fast posts

From: Hanspeter Halle <hphalle@t-online.de>
Date: Thu, 5 Dec 2002 14:55:58 +0100
Message-Id: <200212051355.gB5DtwY28316@blueberry.hphalle.de>
To: www-lib@w3.org
As nobody could help me I had to do it by myself. You find a patch attached 
to fix the problem. I admitt that the solution is not very elegant but the 
main modification is kept in the HTTP.c, so the chance of implications on 
other functions is quite low. I hope it will find it's way into the CVS.


Am Freitag, 29. November 2002 13:26 schrieb Hanspeter Halle:
> We are using libwww in a WAP Gateway to perform the HTTP requests. Gets are
> working fine but the posts are broken if  the www server supports
> pipelining and 2 posts are to be made in a short intervall. What happens is
> the following:
> - TCP link to server is established through any request and the server
>   signals to support pipelining.
> - 1st post request comes in and the post header is sent out. This starts a
> 2s timer which should trigger the data output
> - Before the timer expires the 2nd post is to be executed and the header
>   of this is sent out at once. Again a timer is started.
> - Timer expires and data of post 1 is sent  .OR.
>   Server complains about missing data
> I tracked this down by studying the libwww logs and the code but I would
> request some help in how to fix this bug. Hope somebody is able to do this.
> Thanks,
> Hanspeter

Received on Thursday, 5 December 2002 08:56:10 UTC

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