ANGELESCU Florin | 4 Sep 2004 09:21
Picon
Picon
Favicon

cross compiling for arm


hello i am trying to cross compile libwww for arm
i know the question has been already asked
but i didn't saw any answer

thank you

王楠 | 6 Sep 2004 04:37
Picon

about webot program


everybody, i downloaded the libwww package and compiled the program successfully. when i tried to 
use the webot program , i got some trouble. 

i started the webot to download a website. in the process, the network was broken down. at that time
the webot program entered a infinite loop and it didn't come back even though the network recovered. 

then i tried a simple experiment. i use the chunk program that is in the libwww sample program list.
i input a website address in the ip format like (172.20.52.29) as the argument to start the chunk 
program. and before, i run the program i pull out my network cable from computer so the network was 
break down. after i run the program , the program entered the infinite loop. and then i inputed a 
url (www.yahoo.com) that needed the dns analysis, the program dns timeout and exit .

i want to correct this bug, what should i do?
thanks !

Pedro C.G. | 13 Sep 2004 15:54
Picon
Favicon

multipart-related POST for SOAP client


Hi,

Im trying to do a SOAP client for multipart/related POSTS with libwww.
Ive tried with other libraries for C++ and they are not able to deal with 
this kind of content type.

anybody out there knows if libwww does the thing?

Thanks.

_________________________________________________________________
Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN Amor 
& Amistad. http://match.msn.es/

Girish S | 19 Sep 2004 18:38
Picon
Favicon

gzip content decoding, fails with zlib121


Hi,

Has any one have a gzip decoder implementation in
libwww? Our libwww based application connects to
apache server (2.x) configured to compress data using
gzip. Unfortunately, apache does not comress using
deflate coding which libwww supports.

Please let me if there is any existing solution to
decode gziped content with in libwww.

Thanks
Girish

		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

Sinha, Raj (Raj | 20 Sep 2004 04:22
Favicon

HTML tidy interface


Has anyone written a libwww interface to the HTML tidy component.

Thanks

raj

Brian G. Rhodes | 26 Sep 2004 05:30

timeouts


Is there a way to control the timeout on retrieving a file such as
HTLoadToFile.

HTRequest *request = 0;
  struct     stat fstat;

  request = HTRequest_new();  
  HTAlert_setInteractive(NO);

  HTRequest_addConnection(request, "close", "");

  debug("libwww.c", "saving %s to %s...\n", src, dst);

  if ((HTLoadToFile(src, request, dst) != YES))
    {
      debug("libwww.c", "cannot download file %s\n", src);
      return 0;
    }

  debug("libwww.c", "request loop\n");
  HTEventList_loop(request);

  stat(dst, &fstat);
  debug("libwww.c", "saved %s (%llu bytes)\n", src, fstat.st_size);

  if (access(dst, F_OK) || !(fstat.st_size))
    return 0;

  HTRequest_delete(request);
(Continue reading)

Erik Lotspeich | 28 Sep 2004 19:50

Re: timeouts


Brian,

I'm using this function:

         /* Setup a timeout on the request for 5 secs */
         HTHost_setEventTimeout(5);

The time is specified in seconds.

Hope this helps,

Erik.

On Sat, 25 Sep 2004, Brian G. Rhodes wrote:

>
> Is there a way to control the timeout on retrieving a file such as
> HTLoadToFile.
>
> HTRequest *request = 0;
>  struct     stat fstat;
>
>  request = HTRequest_new();
>  HTAlert_setInteractive(NO);
>
>  HTRequest_addConnection(request, "close", "");
>
>  debug("libwww.c", "saving %s to %s...\n", src, dst);
>
(Continue reading)

Brian G. Rhodes | 28 Sep 2004 20:11

Re: timeouts


Erik,

Yeah, I actually figured out the problem after turning tracing on.  If I
create a preemptive client, I cannot later set preemptive to off which
will create a non-blocking socket.  I used newNoCacheClient and now it's
working as I desired.

Btw, I believe HTHost_setEventTimeout is in milliseconds.

On Tue, 2004-09-28 at 17:50 +0000, Erik Lotspeich wrote:
> Brian,
> 
> I'm using this function:
> 
>          /* Setup a timeout on the request for 5 secs */
>          HTHost_setEventTimeout(5);
> 
> The time is specified in seconds.
> 
> Hope this helps,
> 
> Erik.
> 
> On Sat, 25 Sep 2004, Brian G. Rhodes wrote:
> 
> >
> > Is there a way to control the timeout on retrieving a file such as
> > HTLoadToFile.
> >
(Continue reading)

Erik Lotspeich | 29 Sep 2004 00:16

Re: timeouts


Brian,

> Btw, I believe HTHost_setEventTimeout is in milliseconds.

Er, yes, of course.  You're right.

Regards,

Erik.

>
> On Tue, 2004-09-28 at 17:50 +0000, Erik Lotspeich wrote:
>> Brian,
>>
>> I'm using this function:
>>
>>          /* Setup a timeout on the request for 5 secs */
>>          HTHost_setEventTimeout(5);
>>
>> The time is specified in seconds.
>>
>> Hope this helps,
>>
>> Erik.
>>
>> On Sat, 25 Sep 2004, Brian G. Rhodes wrote:
>>
>>>
>>> Is there a way to control the timeout on retrieving a file such as
(Continue reading)

Samisa Abeysinghe | 1 Oct 2004 10:39
Picon
Favicon

Bad HTTP state with threads.


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?

NOTES: 
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!
http://vote.yahoo.com


Gmane