Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket: Accept a PONG #1026

Merged
merged 1 commit into from
Sep 9, 2012
Merged

Websocket: Accept a PONG #1026

merged 1 commit into from
Sep 9, 2012

Conversation

jmatthewsr-ms
Copy link

For review, it doesn't appear that the current websocket implementation will accept a PONG. IE10 is sending them every 30sec and closing the socket.io connection.

Also, IE10 sets the Mask bit and includes a masking-key, even though there is no data. Be tolerant of this case.

Thanks.

@rauchg
Copy link
Contributor

rauchg commented Sep 9, 2012

@jmatthewsr thanks a lot for the patch. Have you tried socket.io master on IE10? We switched to the ws package for the websocket transport, which should work fine with PONGs. Please let me know

@jmatthewsr-ms
Copy link
Author

Cool. We may not move from 0.9.6 for a bit, but will for sure respond with any issues. Note that I found an issue with ws crashing due to socket errors under certain conditions: websockets/ws#105. Thanks for the quick response.

rauchg added a commit that referenced this pull request Sep 9, 2012
@rauchg rauchg merged commit 70b328f into socketio:master Sep 9, 2012
@rauchg
Copy link
Contributor

rauchg commented Sep 9, 2012

@jmatthewsr-ms ok, in any case we still need to iron out a few bugs with the ws integration so I'm merging this too. Thanks!

simonratner added a commit to simonratner/socket.io that referenced this pull request Apr 22, 2014
Based on socketio#1026, but extended
to cover older protocol versions.
simonratner added a commit to simonratner/socket.io that referenced this pull request Apr 22, 2014
Based on socketio#1026, but extended
to cover older protocol versions.
simonratner added a commit to simonratner/socket.io that referenced this pull request Apr 22, 2014
Based on socketio#1026, extended
to cover both protocol versions.
simonratner added a commit to simonratner/socket.io that referenced this pull request Apr 23, 2014
Based on socketio#1026, extended
to cover both protocol versions.
darrachequesne added a commit that referenced this pull request Jul 4, 2024
- component-emitter to version 1.2.1
- debug to version 2.3.3
- engine.io-client to version 1.8.0
- parseuri to version 0.0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants