Sfoglia il codice sorgente

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 20 anni fa
parent
commit
f6084cf831
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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 */
   /* 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;
   return 0;
 }
 }