Make begindir_cutoff the same as general_cutoff
commiteb3d0796677b5d37f27caf8b11d2a2e2c18e5674
authorRoger Dingledine <arma@torproject.org>
Sat, 1 Sep 2012 05:25:17 +0000 (1 01:25 -0400)
committerRoger Dingledine <arma@torproject.org>
Sat, 1 Sep 2012 05:25:17 +0000 (1 01:25 -0400)
treee9b6a0c91730a7368e63c6622db4791f7ff3fa89
parentb17bb543dab3e34f5076649707bc74d5d3bd62fd
Make begindir_cutoff the same as general_cutoff

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 (one piece of bug 3443); bugfix on 0.2.2.2-alpha, where
we changed the timeout from a static 30 seconds.
changes/bug6743 [new file with mode: 0644]
src/or/circuituse.c