WebSocket-Node icon indicating copy to clipboard operation
WebSocket-Node copied to clipboard

Process pending frames when handling socket end

Open indutny-signal opened this issue 3 years ago • 0 comments

When the socket emits end event we might still have to process the frames from the bufferList. One of the frames could be CONNECTION_CLOSE and we don't want to miss that and think that the server has terminated connection incorrectly.

indutny-signal avatar Aug 10 '22 22:08 indutny-signal