[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] prevent duplicat mark-for-close
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv14667/src/or
Modified Files:
main.c
Log Message:
prevent duplicat mark-for-close
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.586
retrieving revision 1.587
diff -u -d -r1.586 -r1.587
--- main.c 1 Nov 2005 17:34:17 -0000 1.586
+++ main.c 4 Nov 2005 05:00:12 -0000 1.587
@@ -591,8 +591,9 @@
buf_datalen(conn->inbuf)>=1024) {
info(LD_DIR,"Trying to extract information from wedged server desc download.");
connection_dir_reached_eof(conn);
+ } else {
+ connection_mark_for_close(conn);
}
- connection_mark_for_close(conn);
return;
}