Retry circuits if the exit node is optional and nonexistant.
commit6f90f6f2a22d118d8aa7a8aad7770e690c4b7138
authorNick Mathewson <nickm@torproject.org>
Mon, 9 Feb 2009 16:55:48 +0000 (9 16:55 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 9 Feb 2009 16:55:48 +0000 (9 16:55 +0000)
tree366899106dc41c79c2658a23042fc24215c8fc88
parentc7315e65ae2940ac514fbd0e0a8e94e13db19cba
Retry circuits if the exit node is optional and nonexistant.

Previously, when we had the chosen_exit set but marked optional, and
we failed because we couldn't find an onion key for it, we'd just give
up on the circuit.  But what we really want to do is try again, without
the forced exit node.

Spotted by rovv.  Another case of bug 752.  I think this might be
unreachable in our current code, but proposal 158 could change that.

svn:r18451
ChangeLog
src/or/circuituse.c