Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
b1891068
Commit
b1891068
authored
Oct 17, 2018
by
Nick Mathewson
🐛
Browse files
Merge branch 'maint-0.3.4'
parents
0ba05092
2000d04c
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/ticket28089
0 → 100644
View file @
b1891068
o Major bugfixes (relay):
- When our write bandwidth limit is exhausted, stop writing on the
connection. Previously, we had a typo in the code that would make us stop
reading leading to relay connections being stuck indefinitely. Fixes bug
28089; bugfix on 0.3.4.1-alpha.
src/core/mainloop/connection.c
View file @
b1891068
...
...
@@ -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_
read
ing
(
conn
);
connection_stop_
writ
ing
(
conn
);
reenable_blocked_connection_schedule
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment