summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-01-19 11:21:28 +0000
committerRoger Dingledine <arma@torproject.org>2006-01-19 11:21:28 +0000
commitf6084cf8310de1aebe6d456808d46a5db5dcf274 (patch)
tree7adb832589abe83bae04a5f03a311775526c3eeb
parentbe903aa67846f6320875cd2caaf8170b3f1480ab (diff)
downloadtor-f6084cf8310de1aebe6d456808d46a5db5dcf274.tar.gz
tor-f6084cf8310de1aebe6d456808d46a5db5dcf274.zip
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
-rw-r--r--src/or/directory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 4e278d182c..9be6351356 100644
--- a/src/or/directory.c
+++ b/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;
}