Re: /bzr/squid3/trunk/ r10691: Bug 2994: pt 2: Open ports as IP4-only when IPv6 disabled

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Mon, 02 Aug 2010 22:21:42 +0200

sön 2010-08-01 klockan 16:33 +1200 skrev Amos Jeffries:

> + // if IPv6 is split-stack, prefer IPv4
> + if (Ip::EnableIpv6&IPV6_SPECIAL_SPLITSTACK) {
> + // NP: This is not a great choice of default,
> + // but with the current Internet being IPv4-majority has a higher success rate.
> + // if setting to IPv4 fails we dont care, that just means to use IPv6 outgoing.
> + outgoing.SetIPv4();
> + }

Doesn't this break connectivity to IPv6-only hosts?

What happened with the comm reoredring moving socket type & outgoing
address selection down to after the destination address have been
selected?

Regards
Henrik
Received on Mon Aug 02 2010 - 20:21:48 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 03 2010 - 12:00:04 MDT