mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
when you attachstream to a circid of 0, send back an answer
svn:r3857
This commit is contained in:
parent
09ef2b7e41
commit
fa3c9d94bc
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user