[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] bugfix: if the wedged dir conn has no bytes to flush, then ...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] bugfix: if the wedged dir conn has no bytes to flush, then ...
- From: arma@seul.org (Roger Dingledine)
- Date: Fri, 28 May 2004 13:56:19 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 28 May 2004 13:56:35 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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;
}