summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-08-05 09:59:11 -0700
committerNick Mathewson <nickm@torproject.org>2010-09-27 12:29:43 -0400
commitec10c044fb3e7b4865a7e9082c5353876e40915f (patch)
tree8ab4dd41f3597825d9df094004dd50d19eeb5e29 /src/or/directory.c
parent63079efb87ab677738ba83d13e3e9d1b0ac1c513 (diff)
downloadtor-ec10c044fb3e7b4865a7e9082c5353876e40915f.tar.gz
tor-ec10c044fb3e7b4865a7e9082c5353876e40915f.zip
Move the "stop writing when the buffer is empty" logic to cnnection_finished_flushing
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 7f8d1167b3..2e9770eebf 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -3355,7 +3355,6 @@ connection_dir_finished_flushing(dir_connection_t *conn)
case DIR_CONN_STATE_CLIENT_SENDING:
log_debug(LD_DIR,"client finished sending command.");
conn->_base.state = DIR_CONN_STATE_CLIENT_READING;
- connection_stop_writing(TO_CONN(conn));
return 0;
case DIR_CONN_STATE_SERVER_WRITING:
log_debug(LD_DIRSERV,"Finished writing server response. Closing.");