aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-03-24 06:28:21 +0000
committerRoger Dingledine <arma@torproject.org>2005-03-24 06:28:21 +0000
commitfa3c9d94bcd6c0ae9df09ea13953fbed9fd4c73d (patch)
treea887c422233801c158316e1e6cd53685328c8214 /src/or/control.c
parent09ef2b7e41922a09ab92c1006b8a55b472486ef5 (diff)
downloadtor-fa3c9d94bcd6c0ae9df09ea13953fbed9fd4c73d.tar
tor-fa3c9d94bcd6c0ae9df09ea13953fbed9fd4c73d.tar.gz
when you attachstream to a circid of 0, send back an answer
svn:r3857
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 47c0cc0e6..15c8bfe1e 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -737,7 +737,7 @@ static int handle_control_attachstream(connection_t *conn, uint32_t len,
ap_conn->state = AP_CONN_STATE_CIRCUIT_WAIT;
if (connection_ap_handshake_attach_circuit(ap_conn)<0)
connection_mark_for_close(ap_conn);
-
+ send_control_done(conn);
return 0;
}