meejah / txtorcon

Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
http://fjblvrw2jrxnhtg67qpbzi45r7ofojaoo3orzykesly2j3c2m3htapid.onion/
MIT License
250 stars 72 forks source link

build_timeout_circuit should return reason + remote_reason on failure #285

Closed meejah closed 6 years ago

meejah commented 6 years ago

If a circuit build fails (i.e. circuit_closed or circuit_failed is called before when_built is signaled) then the Deferred returned should get an errback with the reason + remote_reason strings.

david415 commented 6 years ago

i tried to get this working here: https://github.com/meejah/txtorcon/pull/287

made some progress but not done. sloppy PR intended for review only.

meejah commented 6 years ago

Now implemented