-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(server): send events once the handshake is completed
Before that change, an event which was emitted in a middleware (before the socket is considered connected) was sent before the CONNECT packet, which is a bit weird. Note: this explains why the Node.js client implementation has a buffer there [1] [1]: https://github.com/socketio/socket.io-client/blob/2d708137298784761763fdebbd64785819527f45/lib/socket.ts#L68
- Loading branch information
1 parent
0016c25
commit 518f534
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters