]> git.ipfire.org Git - thirdparty/squid.git/commit
Replace most USE_IPV6 with run-time support probing
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sun, 25 Jul 2010 08:10:12 +0000 (02:10 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sun, 25 Jul 2010 08:10:12 +0000 (02:10 -0600)
commit055421eeda16d87706ea792c494c66a6b0f994e2
tree912ab9bbf91e9fd244b3f80d879035002a784724
parent7962bc6a4cd9c44ff7405d8edab94cf4502435ba
Replace most USE_IPV6 with run-time support probing

This unifies the code built for IPv4-only, dual-stack and split-stack.

 * --disable-ipv6 option remains, however it now prevents the run-time probe

 * Probing previously done in ./configure at build time is now merged and
performed run-time on every startup. IPv6 is enabled or disabled based on
the underlying OS support for sockets and setsockopt operations required.

 * Parsing and other operations which can be performed without specific IPv6
connectivity are enabled.

 * Some DNS logic alterations have had to be made to merge the split-stack
DNS and leverage it for IPv4-only mode. Otherwise the logics are unchanged
from previous dual-stack builds which have been well tested.
55 files changed:
compat/Makefile.am
compat/compat.h
compat/os/freebsd.h
compat/os/macosx.h [new file with mode: 0644]
compat/os/netbsd.h
compat/os/openbsd.h
compat/os/solaris.h
configure.in
lib/getaddrinfo.c
src/Makefile.am
src/Parsing.cc
src/acl/Ip.cc
src/cache_cf.cc
src/cf.data.pre
src/client_db.cc
src/client_side.cc
src/comm.cc
src/comm/ListenStateData.cc
src/comm_poll.cc
src/comm_select.cc
src/comm_select_win32.cc
src/dns_internal.cc
src/dnsserver.cc
src/eui/Eui64.cc
src/external_acl.cc
src/ftp.cc
src/icmp/Icmp.h
src/icmp/Icmp6.cc
src/icmp/Icmp6.h
src/icmp/IcmpPinger.cc
src/icmp/IcmpSquid.cc
src/icmp/net_db.cc
src/icmp/pinger.cc
src/internal.cc
src/ip/Address.cc
src/ip/Address.h
src/ip/Intercept.cc
src/ip/Makefile.am
src/ip/testAddress.cc
src/ip/testAddress.h
src/ip/tools.cc [new file with mode: 0644]
src/ip/tools.h [new file with mode: 0644]
src/ipc/StartListening.h
src/ipcache.cc
src/log/ModTcp.cc
src/log/ModUdp.cc
src/main.cc
src/multicast.cc
src/protos.h
src/snmp_core.cc
src/tests/testHttpRequest.cc
src/tools.cc
src/url.cc
tools/cachemgr.cc
tools/squidclient.cc