Re: [PATCH] Service Overload Handling (ICAP Max-Connections)

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Wed, 11 May 2011 12:00:18 +0300

On 05/10/2011 03:44 AM, Amos Jeffries wrote:
>>
>> Maybe we can use
>> if (!Ip::EnableIpv6 || Ip::EnableIpv6&IPV6_SPECIAL_SPLITSTACK &&
>> !cfg().ipv6))
>
> No need. There are four stacks:
> IPv4-only
> Split (Classical Dual)
> Hybrid (Extended Dual)
> IPv6-only
>
> When !Ip::EnableIpv6 the default anyAddr is made IPv4-only. For the

Looking the ip/Address.cc code I think this is not true. The default
localhost address is IPv4-only but for the anyAddr the family (AF_INET
or AF_INET6) is unspecified.

> others we know IPv6 has at least a working stack and default to v6.
> Outside of Ip::Address we only need to care about the Split case where
> sockets are IP family sensitive.
>
> Amos
>
Received on Wed May 11 2011 - 09:00:43 MDT

This archive was generated by hypermail 2.2.0 : Wed May 11 2011 - 12:00:04 MDT