[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 Jun 25 17:26:47 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):

 {{{
 >> controller.msg("QUIT")
 closing connection
 >> controller._socket.is_alive()
 True #Should be False
 }}}

 Tried this on linux and it worked. Not sure if this is another bit of mac
 suckyness, I'll try it there tomorrow.

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


More information about the tor-bugs mailing list