-
deuce authored
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.
deuce authoreda 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.