mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'public/bug20059_024_v2' into maint-0.2.9
This commit is contained in:
commit
8500f0e4e1
3
changes/bug20059
Normal file
3
changes/bug20059
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
o Minor bugfixes (relay):
|
||||||
|
- Avoid a double-marked-circuit warning that can happen when we receive
|
||||||
|
DESTROY cells under heavy load. Fixes bug 20059; bugfix on 0.1.0.1-rc.
|
@ -235,8 +235,10 @@ onion_pending_add(or_circuit_t *circ, create_cell_t *onionskin)
|
|||||||
onion_queue_entry_remove(head);
|
onion_queue_entry_remove(head);
|
||||||
log_info(LD_CIRC,
|
log_info(LD_CIRC,
|
||||||
"Circuit create request is too old; canceling due to overload.");
|
"Circuit create request is too old; canceling due to overload.");
|
||||||
|
if (! TO_CIRCUIT(circ)->marked_for_close) {
|
||||||
circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_RESOURCELIMIT);
|
circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_RESOURCELIMIT);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user