[or-cvs] Jan 18 18:42:05.671 [debug] Encountered eof

arma at seul.org arma at seul.org
Thu Jan 19 11:21:30 UTC 2006


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	directory.c 
Log Message:
Jan 18 18:42:05.671 [debug] Encountered eof
Jan 18 18:42:05.671 [debug] Got data, not eof. Leaving on inbuf.

that's not very smart.


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.342
retrieving revision 1.343
diff -u -p -d -r1.342 -r1.343
--- directory.c	12 Jan 2006 18:04:17 -0000	1.342
+++ directory.c	19 Jan 2006 11:21:28 -0000	1.343
@@ -1231,7 +1231,8 @@ connection_dir_process_inbuf(connection_
 
   /* XXX for READ states, might want to make sure inbuf isn't too big */
 
-  debug(LD_HTTP,"Got data, not eof. Leaving on inbuf.");
+  if (!conn->inbuf_reached_eof)
+    debug(LD_HTTP,"Got data, not eof. Leaving on inbuf.");
   return 0;
 }
 



More information about the tor-commits mailing list