diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-04-11 01:34:28 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-04-11 01:34:28 -0400 |
commit | 1e8be321233a5b3dcd05cf0e1bb34fd3d75c95fb (patch) | |
tree | dd41d285c10c78739e8702ae6b5429f2519f9000 /path-spec.txt | |
parent | 25b0d43a9ebe89541625e9f1a090e4a701748c76 (diff) | |
parent | cf98616491392dac55541987c545f8e894263718 (diff) | |
download | torspec-1e8be321233a5b3dcd05cf0e1bb34fd3d75c95fb.tar.gz torspec-1e8be321233a5b3dcd05cf0e1bb34fd3d75c95fb.zip |
Merge remote-tracking branch 'mikeperry/bug5178'
Diffstat (limited to 'path-spec.txt')
-rw-r--r-- | path-spec.txt | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/path-spec.txt b/path-spec.txt index f4fc6c5..b6ada21 100644 --- a/path-spec.txt +++ b/path-spec.txt @@ -395,14 +395,10 @@ of their choices. We attempt to detect both network connectivity loss and drastic changes in the timeout characteristics. - We assume that we've had network connectivity loss if 3 circuits - timeout and we've received no cells or TLS handshakes since those - circuits began. We then temporarily set the timeout to 60 seconds - and stop counting timeouts. - - If 3 more circuits timeout and the network still has not been - live within this new 60 second timeout window, we then discard - the previous timeouts during this period from our history. + We assume that we've had network connectivity loss if a circuit + times out and we've received no cells or TLS handshakes since that + circuit began. We then temporarily stop counting timeouts until + network activity resumes. To detect changing network conditions, we keep a history of the timeout or non-timeout status of the past 20 circuits that |