Skip to content
Snippets Groups Projects
Commit 224f0ca1 authored by deuce's avatar deuce
Browse files

A deadlock could occur if you called conn_close() while the remote was sending

a buttload of data.  If the input queue filled up before the socket was closed,
the input queue could be stuck waiting for the ring buffer to drain while
conn_close() is stuck waiting for the input thread to stop.

We now consume data from the input buffer while waiting for the input thread
to stop.
parent 7d1ae3ab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment