[or-cvs] bugfix: if the wedged dir conn has no bytes to flush, then ...
Roger Dingledine
arma at seul.org
Fri May 28 17:56:19 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:
bugfix: if the wedged dir conn has no bytes to flush, then we never
close it.
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -d -r1.276 -r1.277
--- main.c 28 May 2004 15:01:47 -0000 1.276
+++ main.c 28 May 2004 17:56:17 -0000 1.277
@@ -360,6 +360,8 @@
connection_mark_for_close(conn);
conn->hold_open_until_flushed = 1; /* give it a last chance */
}
+ } else {
+ connection_mark_for_close(conn);
}
return;
}
More information about the tor-commits
mailing list