[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] if the directory client hangs up before getting the directo...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] if the directory client hangs up before getting the directo...
- From: arma@seul.org (Roger Dingledine)
- Date: Sat, 6 Mar 2004 00:09:35 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sat, 06 Mar 2004 00:09:54 -0500
- 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:
directory.c
Log Message:
if the directory client hangs up before getting the directory,
then give up on him
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/src/or/directory.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- directory.c 29 Feb 2004 01:31:32 -0000 1.60
+++ directory.c 6 Mar 2004 05:09:33 -0000 1.61
@@ -144,6 +144,7 @@
return 0;
default:
log_fn(LOG_INFO,"conn reached eof, not reading. Closing.");
+ connection_close_immediate(conn); /* it was an error; give up on flushing */
connection_mark_for_close(conn,0);
return -1;
}