mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
circuit: Add a log info when marking for close
Closes #23462 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
59072d2027
commit
84bb5cb1f1
1 changed files with 4 additions and 0 deletions
|
@ -1912,6 +1912,10 @@ circuit_mark_for_close_, (circuit_t *circ, int reason, int line,
|
|||
circuits_pending_close = smartlist_new();
|
||||
|
||||
smartlist_add(circuits_pending_close, circ);
|
||||
|
||||
log_info(LD_GENERAL, "Circuit %u marked for close at %s:%d (orig reason: "
|
||||
"%u, new reason: %u)",
|
||||
circ->n_circ_id, file, line, orig_reason, reason);
|
||||
}
|
||||
|
||||
/** Called immediately before freeing a marked circuit <b>circ</b> from
|
||||
|
|
Loading…
Add table
Reference in a new issue