mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
After a close, reset the prevBufferLen along with the buffers, so a drain event after upgrade won't remove any packets that have been queued up during upgrading.