Re: Problems with PUT

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 UTC