mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
bugfix: if the wedged dir conn has no bytes to flush, then we never
close it. svn:r1924
This commit is contained in:
@@ -360,6 +360,8 @@ static void run_connection_housekeeping(int i, time_t now) {
|
||||
connection_mark_for_close(conn);
|
||||
conn->hold_open_until_flushed = 1; /* give it a last chance */
|
||||
}
|
||||
} else {
|
||||
connection_mark_for_close(conn);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user