[tor-bugs] #16366 [Tor]: tor hangs for 30 seconds when parsing torrc ending in backslash-newline
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jun 14 20:21:13 UTC 2015
#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
More information about the tor-bugs
mailing list