Explorar el Código

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.


svn:r5843

Roger Dingledine hace 20 años
padre
commit
f6084cf831
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/or/directory.c

+ 2 - 1
src/or/directory.c

@@ -1231,7 +1231,8 @@ connection_dir_process_inbuf(connection_t *conn)
 
   /* 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;
 }