[or-cvs] give wedged dir conns a last chance to flush
Roger Dingledine
arma at seul.org
Mon Apr 19 01:59:22 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
main.c
Log Message:
give wedged dir conns a last chance to flush
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -d -r1.243 -r1.244
--- main.c 18 Apr 2004 06:42:13 -0000 1.243
+++ main.c 19 Apr 2004 01:59:20 -0000 1.244
@@ -310,6 +310,7 @@
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;
}
More information about the tor-commits
mailing list