[tor-bugs] #7147 [Flashproxy]: Don't use undefined socket.IPPROTO_IPV6 on Windows
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Fri Oct 19 04:14:25 UTC 2012
#7147: Don't use undefined socket.IPPROTO_IPV6 on Windows
------------------------+---------------------------------------------------
Reporter: dcf | Owner: dcf
Type: defect | Status: new
Priority: normal | Milestone:
Component: Flashproxy | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Alexandre reports this crash on Windows 7 with Python 2.7.3:
{{{
Traceback (most recent call last):
File "flashproxy-client", line 1003, in <module>
local_listen.append(listen_socket(addr))
File "flashproxy-client", line 464, in listen_socket
s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 1)
AttributeError: 'module' object has no attribute 'IPPROTO_IPV6'
}}}
He points to http://bugs.python.org/issue6926. We can safely skip this
statement on Windows because `IPV6_V6ONLY` is the default for Windows
sockets.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7147>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list