[tor-bugs] #7152 [Stem]: Implement Controller.attach_stream

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 15 20:22:07 UTC 2012


#7152: Implement Controller.attach_stream
------------------------+---------------------------------------------------
 Reporter:  neena       |          Owner:  atagar           
     Type:  task        |         Status:  needs_information
 Priority:  normal      |      Milestone:                   
Component:  Stem        |        Version:                   
 Keywords:  controller  |         Parent:                   
   Points:              |   Actualpoints:                   
------------------------+---------------------------------------------------

Comment(by atagar):

 > I think the best long-term method would be to move the re-usable parts
 from CircuitEvent to (maybe) stem.response.CircuitEntry, then make
 CircuitEvent and Controller.get_circuit() into wrappers for the new
 function.

 Agreed.

 > Just as style feedback... Do we want to standardize on using circuit_id
 and stream_id as var names? I see that repurpose_circuit(),
 extend_circuit(), close_circuit(), and attach_stream() each use circuit or
 circuit_id.

 Yup, we should standardize on circuit_id.

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


More information about the tor-bugs mailing list