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

Re: Post Anchor to Chunk?

From: Kevin L <kevl88@yahoo.com>
Date: Wed, 27 Sep 2000 11:16:36 -0700 (PDT)
Message-ID: <20000927181636.7668.qmail@web1505.mail.yahoo.com>
To: Timo.Ross@ic3s.de
Cc: kevl88@yahoo.com, www-lib@w3.org
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 GMT

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