No�l K�the <[EMAIL PROTECTED]> writes:
> Am Mi, 2003-09-10 um 22.21 schrieb Hrvoje Niksic:
>
>> > Just a small patch for the documentation:
>> >
>> > --- wget-1.8.2.orig/doc/wget.texi
>> > +++ wget-1.8.2/doc/wget.texi
>> > @@ -507,7 +507,7 @@
>> > @item -t @var{number}
>> > @itemx [EMAIL PROTECTED]
>> > Set number of retries to @var{number}. Specify 0 or @samp{inf} for
>> > -infinite retrying.
>> > +infinite retrying. Default (no command-line switch) is not to
>> > retry.
>>
>> Huh? The default is to retry 20 times. Isn't it? :-)
>
> Hmm, then i got it wrong:
>
> $ LC_ALL=C wget -t 0 http://localhost/asdf
> --00:22:01-- http://localhost/asdf
> => `asdf'
> Resolving localhost... done.
> Connecting to localhost[127.0.0.1]:80... failed: Connection refused.
It doesn't for "fatal" errors, such as connection refused, and --tries
doesn't change that.
The flag --retry-connrefused, new in CVS, tells Wget to treat
connection refused as a non-fatal error.