aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
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;
}