mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Mention the purpose field for leaked circuits.
This commit is contained in:
parent
2abe1ceccf
commit
5dbf99d9ff
@ -733,9 +733,10 @@ circuit_expire_old_circuits_clientside(time_t now)
|
|||||||
} else if (!TO_ORIGIN_CIRCUIT(circ)->is_ancient) {
|
} else if (!TO_ORIGIN_CIRCUIT(circ)->is_ancient) {
|
||||||
log_notice(LD_CIRC,
|
log_notice(LD_CIRC,
|
||||||
"Ancient non-dirty circuit %d is still around after "
|
"Ancient non-dirty circuit %d is still around after "
|
||||||
"%ld seconds.",
|
"%ld seconds. Purpose: %d",
|
||||||
TO_ORIGIN_CIRCUIT(circ)->global_identifier,
|
TO_ORIGIN_CIRCUIT(circ)->global_identifier,
|
||||||
now - circ->timestamp_created);
|
now - circ->timestamp_created,
|
||||||
|
circ->purpose);
|
||||||
TO_ORIGIN_CIRCUIT(circ)->is_ancient = 1;
|
TO_ORIGIN_CIRCUIT(circ)->is_ancient = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user