diff options
author | Roger Dingledine <arma@torproject.org> | 2006-08-28 19:02:57 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-08-28 19:02:57 +0000 |
commit | 2499d1db7ce3417e1eed73a3901f6247c6ac6665 (patch) | |
tree | ba11e30c5d6a62bb91db2f3d183301b05cf0eb16 | |
parent | 2a4d5782ef50fc4c474a21573a8854490afd8e9a (diff) | |
download | tor-2499d1db7ce3417e1eed73a3901f6247c6ac6665.tar tor-2499d1db7ce3417e1eed73a3901f6247c6ac6665.tar.gz |
and make the comment better, while i'm at it
svn:r8273
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 17ef1b76a..cc9999a0c 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -596,7 +596,8 @@ run_connection_housekeeping(int i, time_t now) return; } - /* Expire any directory connections that haven't sent anything for 5 min */ + /* Expire any directory connections that haven't been active (sent + * if a server or received if a client) for 5 min */ if (conn->type == CONN_TYPE_DIR && ((DIR_CONN_IS_SERVER(conn) && conn->timestamp_lastwritten + DIR_CONN_MAX_STALL < now) || |