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

Re: [tor-bugs] #16366 [Tor]: tor hangs for 30 seconds when parsing torrc ending in backslash-newline



#16366: tor hangs for 30 seconds when parsing torrc ending in backslash-newline
------------------------+--------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  minor   |  Milestone:  Tor: 0.2.???
    Component:  Tor     |    Version:  Tor: 0.2.6.8
   Resolution:          |   Keywords:  lorax
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------

Comment (by teor):

 The attached program performs a similar `getaddrinfo` call to the call tor
 makes when resolving a `*Port` config line.
 On OS X, it hangs for 30 seconds.
 On Linux, it returns immediately.

 Also, on OS X, it only hangs once the `SOCK_STREAM` and `AF_UNSPEC` hints
 are set. If the hints are uninitialised (oops!), it returns immediately.

 What does OS X think is at '\' ?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16366#comment:4>
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