Avoid busy-looping on WANTREAD within connection_handle_write

Fix for bug 5650.  Also, if we get a WANTREAD while reading while
writing, make sure we're reading.
This commit is contained in:
Nick Mathewson
2013-04-10 19:30:41 -04:00
parent 9630fb917f
commit 39ac1db60e
3 changed files with 24 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
o Major bugfixes:
- Avoid a bug where our response to TLS renegotation under certain
network conditions could lead to a busy-loop, with 100% CPU
consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.