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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 15 08:02:12 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):

 Replying to [comment:5 atagar]:

 > but I don't have a strong opinion about that.

 Me too.

 > I'm not sure what you mean by "I'm adding a pdb.set_trace() in
 handle_streamcreated to check if it's being run.". What precisely would
 you like help with?

 Stem isn't calling handle_streamcreated with stream events.

 - The external_ip method makes a request to the Tor SocksPort.
 - The stream doesn't get attached because !__!LeaveStreamsUnattached is
 on.
 - Stem doesn't call handle_streamcreated with the new stream event.
 (Pretty sure I'm doing something wrong here)
 - The stream doesn't get attached within the timeout, and external_ip's
 SOCKS request fails with an error code.

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


More information about the tor-bugs mailing list