[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wget -T 0 option re-issues the request in 1 hour

From: Micah Cowan
Subject: Re: [Bug-wget] wget -T 0 option re-issues the request in 1 hour
Date: Sun, 23 Nov 2008 19:33:42 -0800
User-agent: Thunderbird (X11/20080925)

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
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

[Prev in Thread] Current Thread [Next in Thread]