[tor-bugs] #6234 [Stem]: stem.socket.ControlSocket.is_alive() should check if socket is open explicitly

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Jul 8 18:56:46 UTC 2012


#6234: stem.socket.ControlSocket.is_alive() should check if socket is open
explicitly
------------------------+---------------------------------------------------
    Reporter:  gsathya  |       Owner:  atagar           
        Type:  defect   |      Status:  needs_information
    Priority:  normal   |   Milestone:                   
   Component:  Stem     |     Version:                   
  Resolution:           |    Keywords:                   
      Parent:           |      Points:                   
Actualpoints:           |  
------------------------+---------------------------------------------------

Comment(by atagar):

 One other option that I'd be fine with is a 'test_connection' argument for
 is_alive() which does an active ping check. That said, this would require
 a change on tor's side to accept a 'PING' request without disconnecting
 the socket if we haven't yet authenticated.

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


More information about the tor-bugs mailing list