workerman
workerman copied to clipboard
Fix prematurely closing connection in non-keepalive mode
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)