when you attachstream to a circid of 0, send back an answer

svn:r3857
This commit is contained in:
Roger Dingledine 2005-03-24 06:28:21 +00:00
parent 09ef2b7e41
commit fa3c9d94bc

View File

@ -737,7 +737,7 @@ static int handle_control_attachstream(connection_t *conn, uint32_t len,
ap_conn->state = AP_CONN_STATE_CIRCUIT_WAIT; ap_conn->state = AP_CONN_STATE_CIRCUIT_WAIT;
if (connection_ap_handshake_attach_circuit(ap_conn)<0) if (connection_ap_handshake_attach_circuit(ap_conn)<0)
connection_mark_for_close(ap_conn); connection_mark_for_close(ap_conn);
send_control_done(conn);
return 0; return 0;
} }