diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-19 01:59:20 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-19 01:59:20 +0000 |
commit | d40e9f453f15443712de4a452d39f354a388d29e (patch) | |
tree | 4b5e3a2f826632a04187bc8ceeaf7ad0fdc26feb /src | |
parent | f1e44399d35aec2f5ef7ee6b70e19ac98ef3a2ed (diff) | |
download | tor-d40e9f453f15443712de4a452d39f354a388d29e.tar tor-d40e9f453f15443712de4a452d39f354a388d29e.tar.gz |
give wedged dir conns a last chance to flush
svn:r1671
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index c6770aa85..039c6f0ba 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; } |