[tor-bugs] #2580 [Torctl]: TorCtl crashes when connected to the ORPort

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Mar 8 03:03:21 UTC 2011


#2580: TorCtl crashes when connected to the ORPort
--------------------+-------------------------------------------------------
 Reporter:  atagar  |          Owner:  mikeperry
     Type:  defect  |         Status:  new      
 Priority:  minor   |      Milestone:           
Component:  Torctl  |        Version:           
 Keywords:          |         Parent:           
   Points:  1       |   Actualpoints:           
--------------------+-------------------------------------------------------

Comment(by nickm):

 Not necessarily ''all'' socket.errors.  In fact, probably most don't.

 ECONNRESET is a special case, in fact: it happens when the other side
 closes the connection, or the connection explodes, or such. That *could*
 be a protocol violation, or it could mean that the Tor dies, or a lot of
 stuff.  Tor isn't supposed to close control connections without being told
 to do so, so you could plausibly call it a protocolerror, but it might
 make sense to treat it however we currently handle closed connections.

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


More information about the tor-bugs mailing list