W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1998

Re: Problems with PUT

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 26 Aug 1998 11:25:32 -0400
Message-Id: <3.0.5.32.19980826112532.00a3cea0@localhost>
To: olga@goliath.eai.com, www-lib@w3.org
At 10:33 25/08/1998 -0500, olga wrote:
>the first putURL (or getURL) request is processed correctly and then the
>programs hangs... (even though multiple get requests are processed w/o any
>problems).
>
>I suspect that the problem is in the callback function(?), but I do not
know how
>to write it correctly.

Are you using non-blocking sockets and an event loop? In order to PUT in
libwww you really need to not block on socket calls as you have to be able
to read and write at the same time.

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Wednesday, 26 August 1998 11:32:16 GMT

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