Closed DonnchaC closed 6 years ago
Sounds like it that could be true! I'll take a look.
If you're writing new code, you should use txtorcon.connect()
instead of the above. The code in connect()
definitely tries: unix-socket, then 9051, then 9151 in that order .. or you can pass in any IStreamClientEndpoint
if you know what you want to connect to.
Hmm, yeah the wording is confusing in that docstring. I should probably also add "...perhaps you should try connect()
instead" as well :)
fixed in master
The txtorcon documentation for
build_local_tor_connection
states that the control port is tried before the control socket. However the code seems to try to connect to the socket first. Is this a documentation mistake?