mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
There were two issues here. 1. When Socket.send called with or without callback alternately, the trigger order is incorrect. 2. The 'drain' event from transport is one per packet for transports supporting framing like websocket and is all in one for those without framing like polling.