mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
fix a bug that's been lurking since 27 may 03 (!)
when passing back a destroy cell, we would use the wrong circ id. how the heck did this work? svn:r1710
This commit is contained in:
parent
0355d29e12
commit
bd38df8472
@ -1015,7 +1015,7 @@ int _circuit_mark_for_close(circuit_t *circ) {
|
|||||||
connection_edge_destroy(circ->n_circ_id, conn);
|
connection_edge_destroy(circ->n_circ_id, conn);
|
||||||
}
|
}
|
||||||
if(circ->p_conn)
|
if(circ->p_conn)
|
||||||
connection_send_destroy(circ->n_circ_id, circ->p_conn);
|
connection_send_destroy(circ->p_circ_id, circ->p_conn);
|
||||||
for(conn=circ->p_streams; conn; conn=conn->next_stream) {
|
for(conn=circ->p_streams; conn; conn=conn->next_stream) {
|
||||||
connection_edge_destroy(circ->p_circ_id, conn);
|
connection_edge_destroy(circ->p_circ_id, conn);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user