mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
preferred_family = none
This commit is contained in:
parent
c3bd5412a8
commit
ecdfa5b1bc
@ -1,3 +1,9 @@
|
||||
2008-05-17 Steven Schubiger <stsc@members.fsf.org>
|
||||
|
||||
* wget.texi (Download Options): Change documentation to reflect
|
||||
the new default value for --prefer-family.
|
||||
(Wgetrc Commands): Same, for prefer_family wgetrc command.
|
||||
|
||||
2008-05-12 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* wget.texi (Download Options): -N with -O downgraded to a
|
||||
|
@ -950,10 +950,10 @@ or to deal with broken network configuration. Only one of
|
||||
same time. Neither option is available in Wget compiled without IPv6
|
||||
support.
|
||||
|
||||
@item --prefer-family=IPv4/IPv6/none
|
||||
@item --prefer-family=none/IPv4/IPv6
|
||||
When given a choice of several addresses, connect to the addresses
|
||||
with specified address family first. IPv4 addresses are preferred by
|
||||
default.
|
||||
with specified address family first. The address order returned by
|
||||
DNS is used without change by default.
|
||||
|
||||
This avoids spurious errors and connect attempts when accessing hosts
|
||||
that resolve to both IPv6 and IPv4 addresses from IPv4 networks. For
|
||||
@ -2849,11 +2849,11 @@ Use POST as the method for all HTTP requests and send the contents of
|
||||
@var{file} in the request body. The same as
|
||||
@samp{--post-file=@var{file}}.
|
||||
|
||||
@item prefer_family = IPv4/IPv6/none
|
||||
@item prefer_family = none/IPv4/IPv6
|
||||
When given a choice of several addresses, connect to the addresses
|
||||
with specified address family first. IPv4 addresses are preferred by
|
||||
default. The same as @samp{--prefer-family}, which see for a detailed
|
||||
discussion of why this is useful.
|
||||
with specified address family first. The address order returned by
|
||||
DNS is used without change by default. The same as @samp{--prefer-family},
|
||||
which see for a detailed discussion of why this is useful.
|
||||
|
||||
@item private_key = @var{file}
|
||||
Set the private key file to @var{file}. The same as
|
||||
|
@ -1,5 +1,7 @@
|
||||
2008-05-17 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* init.c (defaults): Set the preferred IP family to `none' by
|
||||
default.
|
||||
* main.c (main): Handle Ctrl-D on command-line.
|
||||
|
||||
2008-05-15 Steven Schubiger <schubiger@gmail.com>
|
||||
|
@ -301,6 +301,7 @@ defaults (void)
|
||||
tmp = getenv ("no_proxy");
|
||||
if (tmp)
|
||||
opt.no_proxy = sepstring (tmp);
|
||||
opt.prefer_family = prefer_none;
|
||||
opt.allow_cache = true;
|
||||
|
||||
opt.read_timeout = 900;
|
||||
|
Loading…
Reference in New Issue
Block a user