diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-08-05 09:59:11 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:29:43 -0400 |
commit | ec10c044fb3e7b4865a7e9082c5353876e40915f (patch) | |
tree | 8ab4dd41f3597825d9df094004dd50d19eeb5e29 /src/or/connection_edge.c | |
parent | 63079efb87ab677738ba83d13e3e9d1b0ac1c513 (diff) | |
download | tor-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_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 1488f5a89..edc58a0cf 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -319,7 +319,6 @@ connection_edge_finished_flushing(edge_connection_t *conn) switch (conn->_base.state) { case AP_CONN_STATE_OPEN: case EXIT_CONN_STATE_OPEN: - connection_stop_writing(TO_CONN(conn)); connection_edge_consider_sending_sendme(conn); return 0; case AP_CONN_STATE_SOCKS_WAIT: @@ -328,7 +327,6 @@ connection_edge_finished_flushing(edge_connection_t *conn) case AP_CONN_STATE_CIRCUIT_WAIT: case AP_CONN_STATE_CONNECT_WAIT: case AP_CONN_STATE_CONTROLLER_WAIT: - connection_stop_writing(TO_CONN(conn)); return 0; default: log_warn(LD_BUG, "Called in unexpected state %d.",conn->_base.state); |