Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Change ping to an explicit message rather than ws protocol frame #808

Closed
wants to merge 1 commit into from

Conversation

aoberoi
Copy link

@aoberoi aoberoi commented Apr 27, 2017

The current recommendation from Slack is to use a message to ping the websocket servers in addition to the protocol specific ping frames (the ws library can handle this all on its own and there's no need for code). Thus the ping code here was redundant since it was sending the same type of ping the server would have already been sending and the botkit client would have already been ponging. With this change, I also hope to resolve possible issues related to pings being an unmasked message and people getting abnormal terminations after that message was sent.

@aoberoi
Copy link
Author

aoberoi commented Apr 28, 2017

this PR is redundant now, so i'll clean up house a bit :)

@aoberoi aoberoi closed this Apr 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants