[tor-bugs] #2812 [Torctl]: TorCtl Zombie Connections

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Mar 30 00:37:04 UTC 2011


#2812: TorCtl Zombie Connections
--------------------+-------------------------------------------------------
 Reporter:  atagar  |          Owner:              
     Type:  defect  |         Status:  needs_review
 Priority:  normal  |      Milestone:              
Component:  Torctl  |        Version:              
 Keywords:          |         Parent:              
   Points:          |   Actualpoints:              
--------------------+-------------------------------------------------------

Comment(by atagar):

 Extra gotcha, the call throws socket.error if the socket doesn't exist so
 should be wrapped in a try/catch:
   try: s.shutdown(socket.SHUT_RDWR)
   except socket.error: pass

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2812#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list