bugfix: if the wedged dir conn has no bytes to flush, then we never

close it.


svn:r1924
This commit is contained in:
Roger Dingledine
2004-05-28 17:56:17 +00:00
parent 987c90cced
commit 834ffa358f
+2
View File
@@ -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;
}