[or-cvs] if the directory client hangs up before getting the directo...
Roger Dingledine
arma at seul.org
Sat Mar 6 05:09:35 UTC 2004
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;
}
More information about the tor-commits
mailing list