aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4e278d182..9be635135 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;
}