4 Sep 2004 09:21
6 Sep 2004 04:37
about webot program
王楠 <wangnan <at> capinfo.com.cn>
2004-09-06 02:37:57 GMT
2004-09-06 02:37:57 GMT
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 !
13 Sep 2004 15:54
multipart-related POST for SOAP client
Pedro C.G. <petecg_76 <at> hotmail.com>
2004-09-13 13:54:17 GMT
2004-09-13 13:54:17 GMT
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/
19 Sep 2004 18:38
gzip content decoding, fails with zlib121
Girish S <girishpage <at> yahoo.com>
2004-09-19 16:38:20 GMT
2004-09-19 16:38:20 GMT
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
20 Sep 2004 04:22
26 Sep 2004 05:30
timeouts
Brian G. Rhodes <brhodes <at> visualcircuits.com>
2004-09-26 03:30:04 GMT
2004-09-26 03:30:04 GMT
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)
28 Sep 2004 19:50
Re: timeouts
Erik Lotspeich <erik <at> lotspeich.org>
2004-09-28 17:50:38 GMT
2004-09-28 17:50:38 GMT
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)
28 Sep 2004 20:11
Re: timeouts
Brian G. Rhodes <brhodes <at> visualcircuits.com>
2004-09-28 18:11:27 GMT
2004-09-28 18:11:27 GMT
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)
29 Sep 2004 00:16
Re: timeouts
Erik Lotspeich <erik <at> lotspeich.org>
2004-09-28 22:16:16 GMT
2004-09-28 22:16:16 GMT
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)
1 Oct 2004 10:39
Bad HTTP state with threads.
Samisa Abeysinghe <samisa_abeysinghe <at> yahoo.com>
2004-10-01 08:39:15 GMT
2004-10-01 08:39:15 GMT
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
RSS Feed