mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-25 04:43:31 +01:00
Do not cannibalize a circuit with isolation values set.
This commit is contained in:
parent
cd3709a2b0
commit
5df99cec98
@ -1005,7 +1005,8 @@ circuit_find_to_cannibalize(uint8_t purpose, extend_info_t *info,
|
|||||||
(!need_capacity || circ->build_state->need_capacity) &&
|
(!need_capacity || circ->build_state->need_capacity) &&
|
||||||
(internal == circ->build_state->is_internal) &&
|
(internal == circ->build_state->is_internal) &&
|
||||||
circ->remaining_relay_early_cells &&
|
circ->remaining_relay_early_cells &&
|
||||||
!circ->build_state->onehop_tunnel) {
|
!circ->build_state->onehop_tunnel &&
|
||||||
|
!circ->isolation_values_set) {
|
||||||
if (info) {
|
if (info) {
|
||||||
/* need to make sure we don't duplicate hops */
|
/* need to make sure we don't duplicate hops */
|
||||||
crypt_path_t *hop = circ->cpath;
|
crypt_path_t *hop = circ->cpath;
|
||||||
|
Loading…
Reference in New Issue
Block a user