mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
When listing circuits that are pending on an opening OR connection,
if we're an OR we were listing circuits that *end* at us as being pending on every listener, dns/cpu worker, etc. Stop that. svn:r3171
This commit is contained in:
parent
1a946d0efd
commit
308ffa8a05
@ -216,7 +216,7 @@ void circuit_dump_by_conn(connection_t *conn, int severity) {
|
|||||||
circ->n_circ_id, circ->p_circ_id);
|
circ->n_circ_id, circ->p_circ_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!circ->n_conn &&
|
if (!circ->n_conn && circ->n_addr && circ->n_port &&
|
||||||
circ->n_addr == conn->addr &&
|
circ->n_addr == conn->addr &&
|
||||||
circ->n_port == conn->port &&
|
circ->n_port == conn->port &&
|
||||||
!memcmp(conn->identity_digest, circ->n_conn_id_digest, DIGEST_LEN)) {
|
!memcmp(conn->identity_digest, circ->n_conn_id_digest, DIGEST_LEN)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user