aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-17 13:02:23 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-17 13:02:23 -0400
commitb1891068f1cd1513e8ffba0be6d5ca7050f5e689 (patch)
tree0273beda1f23b2f3dcfab7edabf64804ee28b8a6 /src/core/mainloop
parent0ba05092ad16c37ef12db37816b06f160e4cfcb8 (diff)
parent2000d04cb67fa1ee88105e61666dceba40b8c368 (diff)
downloadtor-b1891068f1cd1513e8ffba0be6d5ca7050f5e689.tar.gz
tor-b1891068f1cd1513e8ffba0be6d5ca7050f5e689.zip
Merge branch 'maint-0.3.4'
Diffstat (limited to 'src/core/mainloop')
-rw-r--r--src/core/mainloop/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 5c0799fbe3..1198a01ad9 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -3308,7 +3308,7 @@ connection_write_bw_exhausted(connection_t *conn, bool is_global_bw)
{
(void)is_global_bw;
conn->write_blocked_on_bw = 1;
- connection_stop_reading(conn);
+ connection_stop_writing(conn);
reenable_blocked_connection_schedule();
}