mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
and make the comment better, while i'm at it
svn:r8273
This commit is contained in:
+2
-1
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user