#961: Dual-stack support missing on Python 2.6 (and probably 3.x)
---------------------------+------------------------------------------------
Reporter: jaraco | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone: 3.2
Component: CherryPy code | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment (by jaraco):
There appears to be two issues. The first is that by the time bind() is
called, the bind_addr[0] is '::0' instead of '::'. The second is that
socket.IPPROTO_IPV6 is missing from Python 2.6 and 3.1.
The second patch to this ticket addresses both of these issues.
I'd appreciate suggestions on addressing the '::' matching. Should we have
a function that tests is_in6addr_any() ?