mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Merge remote-tracking branch 'arma/bug6743' into maint-0.2.3
This commit is contained in:
commit
acfd487e7d
9
changes/bug6743
Normal file
9
changes/bug6743
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- Allow one-hop directory fetching circuits the full "circuit build
|
||||||
|
timeout" period, rather than just half of it, before failing them
|
||||||
|
and marking the relay down. This fix should help reduce cases where
|
||||||
|
clients declare relays (or worse, bridges) unreachable because
|
||||||
|
the TLS handshake takes a few seconds to complete. Fixes bug 6743;
|
||||||
|
bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
|
||||||
|
30 seconds.
|
||||||
|
|
@ -372,7 +372,7 @@ circuit_expire_building(void)
|
|||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
SET_CUTOFF(general_cutoff, circ_times.timeout_ms);
|
SET_CUTOFF(general_cutoff, circ_times.timeout_ms);
|
||||||
SET_CUTOFF(begindir_cutoff, circ_times.timeout_ms / 2.0);
|
SET_CUTOFF(begindir_cutoff, circ_times.timeout_ms);
|
||||||
SET_CUTOFF(fourhop_cutoff, circ_times.timeout_ms * (4/3.0));
|
SET_CUTOFF(fourhop_cutoff, circ_times.timeout_ms * (4/3.0));
|
||||||
SET_CUTOFF(cannibalize_cutoff, circ_times.timeout_ms / 2.0);
|
SET_CUTOFF(cannibalize_cutoff, circ_times.timeout_ms / 2.0);
|
||||||
SET_CUTOFF(close_cutoff, circ_times.close_ms);
|
SET_CUTOFF(close_cutoff, circ_times.close_ms);
|
||||||
|
Loading…
Reference in New Issue
Block a user