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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 03 Aug 2010 00:04:01 +0000

On Mon, 02 Aug 2010 22:21:42 +0200, Henrik Nordström
<henrik_at_henriknordstrom.net> wrote:
> 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?

Sigh. Yes. Fortunately this SetIPv4() only affects ::.

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

It is still progressing. I'm hoping it will be done and in by the end of
this month. It's going through audit under cleanup-comm.
I'm having a few issues straightening out FTP cases at present, but when
thats done it goes back for another try.

Amos
Received on Tue Aug 03 2010 - 00:04:07 MDT

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