W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: Blocking in POST

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Mon, 11 Jan 1999 13:15:28 -0500
To: www-lib@w3.org
Message-ID: <369A3FC0.91E6100A@w3.org>
To: olga <olga@goliath.eai.com>


olga wrote:

> my multiple POSTs and GETs work now but often (and unpredictable) POST would
> hang:
> 
> Trace:
> 
> In HTWriter_write: EAGAIN : Resource temporarily unavailable
> Write Socket WOULD BLOCK 16 (offset 61320)
> 
> After that sometime the application goes on but sometimes just hangs...
> Why is that happening and how to fix it? I am not using the latest version on
> the library. Maybe there were some fixes regarding this behavior?

The most important thing you have to look out for is that it is possible
to pipeline multiple POST requests in libwww and this is not (yet)
allowed in HTTP. However, there has been changes to this part of the
code and exactly what it can be I don't know.

As you can imagine, I would suggest that you do a cvs update and see how
this works out. If you are not using the HText interface then there
should be no API changes at all.

--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Monday, 11 January 1999 13:15:33 GMT

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