[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 03:52:08 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: |
------------------------+---------------------------------------------------
Changes (by gsathya):
* status: reopened => needs_information
Comment:
Oops wikiformatting messed it up, rewriting previous comment -
Do we want this to happen? Maybe we can use {{{_is_alive()}}} for internal
purposes which can use a {{{__is_alive}}} boolean and another
{{{_is_alive()}}} which actually checks the socket with a query and expose
this as the end-user API? We can use a sample PROTOCOLINFO query to check
- it doesn't need auth, so it won't close the connection
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6234#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list