Skip to content
Snippets Groups Projects
Commit 834ffa35 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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

close it.


svn:r1924
parent 987c90cc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment