From: Roger Dingledine Date: Fri, 28 May 2004 17:56:17 +0000 (+0000) Subject: bugfix: if the wedged dir conn has no bytes to flush, then we never X-Git-Tag: tor-0.0.7rc1~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=834ffa358fc0bc61cfb22b647c437ad1bc58269f;p=thirdparty%2Ftor.git bugfix: if the wedged dir conn has no bytes to flush, then we never close it. svn:r1924 --- diff --git a/src/or/main.c b/src/or/main.c index ce510b9bea..1a75158bf4 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -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; }