Skip to content

Added support for keep alive websocket frames#704

Merged
okbel merged 1 commit intomasterfrom
keep-alive
Jun 22, 2017
Merged

Added support for keep alive websocket frames#704
okbel merged 1 commit intomasterfrom
keep-alive

Conversation

@wyattjoh
Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a configurable web socket timeout option that will send {"type":"ka"} over the web socket (default 30s) to prevent load balancers from terminating the connection.

How do I test this PR?

  1. Open the page in Chrome
  2. Look under Network -> WS -> /live
  3. Select the "Frames" tab
  4. Wait 30+ seconds, notice at least 1 {"type":"ka"} frame.

@okbel okbel merged commit bb544a9 into master Jun 22, 2017
@okbel
Copy link
Copy Markdown
Contributor

okbel commented Jun 22, 2017

💯 ❤️

@okbel okbel deleted the keep-alive branch June 22, 2017 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants