axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <>
Subject Re: [LibWWW transport thread safety]Bad HTTP state with threads.
Date Fri, 01 Oct 2004 11:08:26 GMT
Looks like we are loosing the battle :(

I have been trying my best to get the threads working with the pseudo thread model of LibWWW.
even with lib level init within Axis C++, when used with a real pthrerad application, the
library fails. Looks like we have to modify LibWWW to make it really thread safe (putting
etc.). This is too much and I do not think it is worth consodering to use LibWWW based transport
with our own modifications to LibWWW source, to make it thread safe.


--- Samisa Abeysinghe <> wrote:

> Hi All,
>     I am trying to use LibWWW with threads.
>     I get the following error at times:
> "HTTP.c:1375 Bad http state 121845532"
>     What does this mean? What am I doing wrong?
> 1. I have configured my LibWWW build with:
> ./configure --enable-reentrant --with-extension --with-expat=no
> 2. I am trying to use POST with 
>         HTProfile_newNoCacheClient ("AxisCpp", "1.3");
>         HTMethod_setExtensionMethod (METHOD_EXT_0, "POST", NO);
> 3. I start the event loop using HTEventList_newLoop(); on a seperate thread only once
> 4. I keep on reading and writing using multiple threds.
>     Appreciate your help.
> Regards,
> Samisa...
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!

Do you Yahoo!?
Declare Yourself - Register online to vote today!

View raw message