mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
reverse the logic, captain
svn:r1664
This commit is contained in:
parent
7a7baf0552
commit
8d86f8abf5
@ -307,7 +307,7 @@ static void run_connection_housekeeping(int i, time_t now) {
|
||||
connection_t *conn = connection_array[i];
|
||||
|
||||
if(conn->type == CONN_TYPE_DIR &&
|
||||
conn->timestamp_created + 5*60 > now) {
|
||||
conn->timestamp_created + 5*60 < now) {
|
||||
log_fn(LOG_INFO,"Expiring wedged directory conn (purpose %d)", conn->purpose);
|
||||
connection_mark_for_close(conn,0);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user