aboutsummaryrefslogtreecommitdiff
path: root/doc/spec/tor-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-26 22:50:40 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-26 22:50:40 +0000
commit2c1d7cf674b3d8b4ec3ca35df69901c82723032e (patch)
tree36c6ff51a51b8be6cf8a1d513b135bce35e4406e /doc/spec/tor-spec.txt
parentc9c9f581f6e1e60351fe9a26f5720c7e3bda1490 (diff)
downloadtor-2c1d7cf674b3d8b4ec3ca35df69901c82723032e.tar
tor-2c1d7cf674b3d8b4ec3ca35df69901c82723032e.tar.gz
r16194@catbus: nickm | 2007-10-26 18:37:02 -0400
Keep circuitless TLS connections open for 1.5 x MaxCircuitDirtiness: this ensures that we don't thrash closing and repoening connections to our guards. svn:r12218
Diffstat (limited to 'doc/spec/tor-spec.txt')
-rw-r--r--doc/spec/tor-spec.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/spec/tor-spec.txt b/doc/spec/tor-spec.txt
index de614207f..b31e7bf62 100644
--- a/doc/spec/tor-spec.txt
+++ b/doc/spec/tor-spec.txt
@@ -194,9 +194,12 @@ see tor-design.pdf.
of TLS records MUST NOT leak information about the type or contents
of the cells.
- TLS connections are not permanent. Either side may close a connection
+ TLS connections are not permanent. Either side MAY close a connection
if there are no circuits running over it and an amount of time
- (KeepalivePeriod, defaults to 5 minutes) has passed.
+ (KeepalivePeriod, defaults to 5 minutes) has passed since the last time
+ any traffic was transmitted over the TLS connection. Clients SHOULD
+ also hold a TLS connection with no circuits open, if it is likely that a
+ circuit will be built soon using that connection.
(As an exception, directory servers may try to stay connected to all of
the ORs -- though this will be phased out for the Tor 0.1.2.x release.)