From ec10c044fb3e7b4865a7e9082c5353876e40915f Mon Sep 17 00:00:00 2001
From: Nick Mathewson <nickm@torproject.org>
Date: Wed, 5 Aug 2009 09:59:11 -0700
Subject: Move the "stop writing when the buffer is empty" logic to
 cnnection_finished_flushing

---
 src/or/connection_or.c | 1 -
 1 file changed, 1 deletion(-)

(limited to 'src/or/connection_or.c')

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);
-- 
cgit v1.2.3