Преглед изворни кода

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 година
родитељ
комит
f6084cf831
1 измењених фајлова са 2 додато и 1 уклоњено
  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;
 }