Re: Post Anchor to Chunk?

Timo:

Thanks for the information. But according to
libwww document, post and put request can not be
used with preemptive profiles. I don't know the
exact reason behind this, but I did try anyway to
use HTProfile_newPreemptiveClient() with the post
to chunk functions, they didn't work, they hung
somewhere after sending only the request header
over.

It looks to me at this point it's not possible to
do synchronous post to chunk with current
implementation of libwww.

Thanks again.

Kevin
--- Timo.Ross@ic3s.de wrote:

> Hmmmm....

> I still can't see you problem with the XmlRpc
content/Request. Perhaps
> because I do not know what it is !!!
> But I have the same effect as you. I get the reply
asynchronously, because
> I use non blocking sockets! And I think you too. If
you want to have
> synchronously replies you MUST use blocking sockets.
You can use the
> "HTProfile_newPreemptiveClient" function to
initialise libwww with blocking
> sockets and have a look at the "chunkbody.c" example
application! If you do
> not use blocking socket and no eventloop, the
"load"-function returns
> immediatly after you have called it, and your chunk
is still empty. With
> blocking sockets, the function will not return
before the request is
> fullfilled. BTW libwww is not thread save ((-;

> OK ... hope this will help you ... Timo


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Received on Wednesday, 27 September 2000 14:16:42 UTC