mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Bug 8477: Don't warn if fromerly GENERAL circuits still have streams.
This can happen in various cases of network failure.
This commit is contained in:
parent
a7d6683629
commit
f6a2f088fd
@ -651,7 +651,9 @@ connection_ap_expire_beginning(void)
|
|||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (circ->purpose != CIRCUIT_PURPOSE_C_GENERAL) {
|
if (circ->purpose != CIRCUIT_PURPOSE_C_GENERAL &&
|
||||||
|
circ->purpose != CIRCUIT_PURPOSE_C_MEASURE_TIMEOUT &&
|
||||||
|
circ->purpose != CIRCUIT_PURPOSE_PATH_BIAS_TESTING) {
|
||||||
log_warn(LD_BUG, "circuit->purpose == CIRCUIT_PURPOSE_C_GENERAL failed. "
|
log_warn(LD_BUG, "circuit->purpose == CIRCUIT_PURPOSE_C_GENERAL failed. "
|
||||||
"The purpose on the circuit was %s; it was in state %s, "
|
"The purpose on the circuit was %s; it was in state %s, "
|
||||||
"path_state %s.",
|
"path_state %s.",
|
||||||
|
Loading…
Reference in New Issue
Block a user