summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-09-09 08:41:58 +0000
committerRoger Dingledine <arma@torproject.org>2008-09-09 08:41:58 +0000
commitef7af1d61e242913bcbeff1490d5300d1a9977c5 (patch)
tree169a077d08fdf640ea2d8c119841d220909070a5 /src/or/circuituse.c
parentd37fae2f4edb03095f943577f78b518f75f6ca71 (diff)
downloadtor-ef7af1d61e242913bcbeff1490d5300d1a9977c5.tar.gz
tor-ef7af1d61e242913bcbeff1490d5300d1a9977c5.zip
karsten's patch for bug 767.
svn:r16808
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 5f1cd5b62d..672c858a7a 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1321,6 +1321,11 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn)
routerinfo_t *router = router_get_by_nickname(conn->chosen_exit_name, 1);
int opt = conn->_base.chosen_exit_optional;
if (!router && !want_onehop) {
+ /* We ran into this warning when trying to extend a circuit to a
+ * hidden service directory for which we didn't have a router
+ * descriptor. See flyspray task 767 for more details. We should
+ * keep this in mind when deciding to use BEGIN_DIR cells for other
+ * directory requests as well. -KL*/
log_fn(opt ? LOG_INFO : LOG_WARN, LD_APP,
"Requested exit point '%s' is not known. %s.",
conn->chosen_exit_name, opt ? "Trying others" : "Closing");