From ad07a0867e069c49650ab3752fb434afdaa80ea8 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 20 Sep 2009 19:50:44 -0400 Subject: Fix typos and comments, plus two bugs A) We were considering a circuit had timed out in the special cases where we close rendezvous circuits because the final rendezvous circuit couldn't be built in time. B) We were looking at the wrong timestamp_created when considering a timeout. --- proposals/151-path-selection-improvements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proposals/151-path-selection-improvements.txt') diff --git a/proposals/151-path-selection-improvements.txt b/proposals/151-path-selection-improvements.txt index af17c4d..e0e9e07 100644 --- a/proposals/151-path-selection-improvements.txt +++ b/proposals/151-path-selection-improvements.txt @@ -90,7 +90,7 @@ Implementation changes in the timeout characteristics. We assume that we've had network connectivity loss if 3 circuits - timeout and we've recieved no cells or TLS handshakes since those + timeout and we've received no cells or TLS handshakes since those circuits began. We then set the timeout to 60 seconds and stop counting timeouts. @@ -100,7 +100,7 @@ Implementation To detect changing network conditions, we keep a history of the timeout or non-timeout status of the past RECENT_CIRCUITS (20) - that successfully completed more than one hop. If more than 75% + that successfully completed at least one hop. If more than 75% of these circuits timeout, we discard all buildtimes history, reset the timeout to 60, and then begin recomputing the timeout. -- cgit v1.2.3-54-g00ecf