[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #9862 [Stem]: Tor hangs if you ask it to open too many ORPorts



#9862: Tor hangs if you ask it to open too many ORPorts
------------------------+--------------------------------
     Reporter:  zwol    |      Owner:  atagar
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Stem    |    Version:  Tor: 0.2.4.17-rc
   Resolution:          |   Keywords:  tor-relay
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by atagar):

 Oh, just thought of something. If you call tor_process.stdout.close() does
 this still manifest? If not then that's a pretty trivial fix to make in
 launch_tor().

 > The bootstrap status events (or the getinfo) don't do it for you?

 No for a couple reasons:

 1. It doesn't tell us when we *can* connect to the control port. We could
 poll instead, but reading stdout is better.

 2. The launch_tor() function simply launches tor, it doesn't require that
 the user has a control port.

 I recall you asking this on an earlier ticket too.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9862#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs