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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 14 16:33:22 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 neena):

 Damian, Robinson

 I'm not sure what I'm doing wrong. But, I'm unable to handle STREAM
 events. Would appreciate help, I've been stuck with this for a while
 now... code
 [http://repo.or.cz/w/stem/neena.git/shortlog/refs/heads/attach-2 here].
 I'm adding a pdb.set_trace() in handle_streamcreated to check if it's
 being run.

 I also wrote a get_circuits() method, should be useful to make the other
 circuit related tests neater (close_circuit etc). Though, I find it a
 little convoluted to first make it an event and then parse it.

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


More information about the tor-bugs mailing list