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

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Sat, 22 May 2010 16:01:05 +0200

This was intentionally not wrapped in an ifdef as the code here is not
IPv6 dependent. If anything it's actually IPv4 dependent...

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 - 14:01:08 MDT

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