-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Abhishek Saxena wrote: > Hi > > I am using the wget for https request submitted to my application for a > service through a shell script running on linux server. The request may > take more than an hour depending on the load. "wget" waits for the reply > to mark the request as complete. I am using -T 0 option to disable the > timeout. But the request is re-issued by wget after one hour. This > causes the problem of contention for the application. > > I am using the below options: > wget -T 0 --http-user=$user --http-passwd=$pwd --no-check-certificate > --retry-connrefused -o `echo $GetReportLog`_$CurrTime.log -O > $OutGoingDir/out_rtn_$CurrTime.txt "https://$Baseurl/" > > wget -V > GNU Wget 1.10.2 (Red Hat modified) > > Is there something that I am doing wrong or is it a bug in wget? If it > is a bug then is there any patch/fix available for it?
I don't see anything in the current code that would let it timeout. Probably something in the OS then (or perhaps the connection times out, if the server fails to send acks regularly enough or something). Or it could be something in 1.10.2 (or Red Hat modifications thereto). That said, this _really_ isn't what Wget/HTTP was meant for. Surely a mail-based service would be a tad more appropriate... - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkqIJUACgkQ7M8hyUobTrGPXgCfYeeCLwXnsagt/ZyLG+RO9ePq Nf0An1KSx9K+UrZIxjpXlohJ/Bmoaj1r =V14y -----END PGP SIGNATURE-----