[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
Mon Jul 9 14:16:33 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 gsathya):

 Replying to [comment:12 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.

 I like this. Filed a ticket -
 https://trac.torproject.org/projects/tor/ticket/6354

 Should we do something about this meanwhile?

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


More information about the tor-bugs mailing list