mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Bail early in cpuworker_onion_handshake_replyfn if the circuit is marked
This commit is contained in:
parent
525a2ce6e3
commit
a598d0f575
@ -347,6 +347,12 @@ cpuworker_onion_handshake_replyfn(void *work_)
|
||||
|
||||
circ->workqueue_entry = NULL;
|
||||
|
||||
if (TO_CIRCUIT(circ)->marked_for_close) {
|
||||
/* We already marked this circuit; we can't call it open. */
|
||||
log_debug(LD_OR,"circuit is already marked.");
|
||||
goto done_processing;
|
||||
}
|
||||
|
||||
if (rpl.success == 0) {
|
||||
log_debug(LD_OR,
|
||||
"decoding onionskin failed. "
|
||||
|
Loading…
Reference in New Issue
Block a user