diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2013-03-26 19:40:08 -0700 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2013-03-26 19:40:08 -0700 |
commit | cf98616491392dac55541987c545f8e894263718 (patch) | |
tree | 3e102960ff697969e614811dcfbdab09bf548f39 /path-spec.txt | |
parent | 3dd69d2eab4356fd9f0990ba24bb229be6eb087e (diff) | |
download | torspec-cf98616491392dac55541987c545f8e894263718.tar.gz torspec-cf98616491392dac55541987c545f8e894263718.zip |
Improve CBT network liveness section to match code.
We simplified this code a while back and forgot to update the spec.
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 7d19889..d04fc8b 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 |