Re: /bzr/squid3/trunk/ r10490: Wrap extra IPv6 comm failover cases properly.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 22 May 2010 23:10:11 +0000

On Sat, 22 May 2010 16:01:05 +0200, Henrik Nordström
<henrik_at_henriknordstrom.net> wrote:
> This was intentionally not wrapped in an ifdef as the code here is not
> IPv6 dependent. If anything it's actually IPv4 dependent...
>

You want that reverted then? Or add the --enable-ipv4 option already?

I figured it's only needed when v6 AND v4 is built to add protocol
confusion. Would be dependent on --enable-ipv4 if we had that yet.

>
> lör 2010-05-22 klockan 17:59 +1200 skrev Amos Jeffries:
>>
>> +#if USE_IPV6
>> /* Handle IPv6 over IPv4-only socket case.
>> * this case must presently be handled here since the GetAddrInfo
>> asserts on bad mappings.
>> * NP: because commResetFD is private to ConnStateData we have to
>> return an error and
>> @@ -1244,6 +1245,7 @@
>> errno = ENETUNREACH;
>> return COMM_ERR_PROTOCOL;
>> }
>> +#endif /* USE_IPV6 */
>>
>> address.GetAddrInfo(AI, F->sock_family);
>>
>>
Received on Sat May 22 2010 - 23:10:14 MDT

This archive was generated by hypermail 2.2.0 : Sun May 23 2010 - 12:00:54 MDT