[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #7147 [Flashproxy]: Don't use undefined socket.IPPROTO_IPV6 on Windows



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs