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

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



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

Comment(by atagar):

 Replying to [comment:5 mikeperry]:
 > So then this solves the more specific issue of properly catching the
 exception early on when you first ask for the PROTOCOLINFO?

 This solves uncaught exceptions when querying the PROTOCOLINFO and closing
 connection.

 > Did you test this against non-exception things like socket.error? (Ex:
 attempting to connect to a closed control port?)

 Done, TorCtl.connect() to a closed port still hits the socket.error
 results in:
 Connection refused. Is the ControlPort enabled?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2580#comment:6>
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