Problem with fast posts

[email protected] (Hanspeter Halle)
Newsgroups gmane.comp.lib.libwww
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.