[tor-bugs] #8605 [Stem]: Autodetect response type in ControlMessage.from_str()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 16 19:38:00 UTC 2013


#8605: Autodetect response type in ControlMessage.from_str()
-----------------------------+----------------------------------------------
 Reporter:  atagar           |          Owner:  atagar
     Type:  enhancement      |         Status:  new   
 Priority:  normal           |      Milestone:        
Component:  Stem             |        Version:        
 Keywords:  controller easy  |         Parent:        
   Points:                   |   Actualpoints:        
-----------------------------+----------------------------------------------

Comment(by sreenatha):

 Modified from_str to identify responses of types PROTOCOLINFO,
 AUTHCHALLENGE  and EVENT. Unable to find a solid way of identifying other
 response types(GETINFO, GETCONF, MAPADDRESS and SINGLELINE). Patch for
 response/!__init!__.py available at
 https://github.com/lucyd/stem/commit/03399741433551dabbfb9060c3d736f54033b839

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


More information about the tor-bugs mailing list