diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/circuituse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 88b36a6e8..74e689594 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -1225,7 +1225,8 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn) } return -1; } - if (!connection_ap_can_use_exit(conn, router)) { + if (conn->_base.purpose != EXIT_PURPOSE_RESOLVE && + !connection_ap_can_use_exit(conn, router)) { log_fn(opt ? LOG_INFO : LOG_WARN, LD_APP, "Requested exit point '%s' would refuse request. %s.", conn->chosen_exit_name, opt ? "Trying others" : "Closing"); |