summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-03-27 06:37:56 +0000
committerRoger Dingledine <arma@torproject.org>2005-03-27 06:37:56 +0000
commit7a79acd9f6d377533940ee12fcb3afaaa982b04d (patch)
treee49a435a3f3a5fc4f4cda38aa060d010675988c9 /src/or/rendclient.c
parentce854906db41e8e21a9cb8d42fcb63e469ca2b28 (diff)
downloadtor-7a79acd9f6d377533940ee12fcb3afaaa982b04d.tar.gz
tor-7a79acd9f6d377533940ee12fcb3afaaa982b04d.zip
clean up socks reply stuff more.
add a few more reasons so we can be more informative. svn:r3895
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 2b1970f95e..b874802666 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -394,7 +394,7 @@ void rend_client_desc_here(char *query) {
if (connection_ap_handshake_attach_circuit(conn) < 0) {
/* it will never work */
log_fn(LOG_WARN,"attaching to a rend circ failed. Closing conn.");
- connection_close_unattached_ap(conn, END_STREAM_REASON_MISC);
+ connection_close_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH);
}
tor_assert(conn->state != AP_CONN_STATE_RENDDESC_WAIT); /* avoid loop */
} else { /* 404, or fetch didn't get that far */