workerman icon indicating copy to clipboard operation
workerman copied to clipboard

Fix prematurely closing connection in non-keepalive mode

Open latypoff opened this issue 2 years ago • 0 comments

send() may send only part of the data, so next time (when EV_WRITE invoked), send() will close connection as it was marked as "closing". How to reproduce: download 10mb file in non-keepalive mode (Connection: close)

latypoff avatar Apr 13 '22 08:04 latypoff