mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix another time comparison bug in circuit_stream_is_being_handled().
Nick, can you confirm this one? This is also a backport candidate. svn:r5497
This commit is contained in:
parent
ef000fd82e
commit
bb8dc691eb
@ -307,7 +307,7 @@ circuit_stream_is_being_handled(connection_t *conn, uint16_t port, int min)
|
||||
circ->purpose == CIRCUIT_PURPOSE_C_GENERAL &&
|
||||
!circ->build_state->is_internal &&
|
||||
(!circ->timestamp_dirty ||
|
||||
circ->timestamp_dirty + get_options()->MaxCircuitDirtiness < now)) {
|
||||
circ->timestamp_dirty + get_options()->MaxCircuitDirtiness > now)) {
|
||||
exitrouter = build_state_get_exit_router(circ->build_state);
|
||||
if (exitrouter &&
|
||||
(!need_uptime || circ->build_state->need_uptime)) {
|
||||
|
Loading…
Reference in New Issue
Block a user