From: Roger Dingledine Date: Mon, 19 Apr 2004 01:59:20 +0000 (+0000) Subject: give wedged dir conns a last chance to flush X-Git-Tag: debian-version-0.0.5+0.0.6rc2-1~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d40e9f453f15443712de4a452d39f354a388d29e;p=thirdparty%2Ftor.git give wedged dir conns a last chance to flush svn:r1671 --- diff --git a/src/or/main.c b/src/or/main.c index c6770aa853..039c6f0baf 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -310,6 +310,7 @@ static void run_connection_housekeeping(int i, time_t 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); + conn->hold_open_until_flushed = 1; /* give it a last chance */ return; }