aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.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/connection_or.c
parent63079efb87ab677738ba83d13e3e9d1b0ac1c513 (diff)
downloadtor-ec10c044fb3e7b4865a7e9082c5353876e40915f.tar
tor-ec10c044fb3e7b4865a7e9082c5353876e40915f.tar.gz
Move the "stop writing when the buffer is empty" logic to cnnection_finished_flushing
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index cb2c429e9..169f14153 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -281,7 +281,6 @@ connection_or_finished_flushing(or_connection_t *conn)
case OR_CONN_STATE_PROXY_HANDSHAKING:
case OR_CONN_STATE_OPEN:
case OR_CONN_STATE_OR_HANDSHAKING:
- connection_stop_writing(TO_CONN(conn));
break;
default:
log_err(LD_BUG,"Called in unexpected state %d.", conn->_base.state);