diff --git a/src/or/main.c b/src/or/main.c index 17ef1b76aa..cc9999a0cf 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) ||