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

Ping when idle (fixes #264, fixes #257) #266

Merged
merged 5 commits into from
Apr 10, 2016
Merged

Ping when idle (fixes #264, fixes #257) #266

merged 5 commits into from
Apr 10, 2016

Conversation

jchambers
Copy link
Owner

As discussed in #265, #264, and #257, this change causes clients to send PING frames after they've been idle for some time. This should prevent connections from being closed due to inactivity at either the transport layer or the application layer. It also has the nice benefit of helping us detect flaky connections earlier.

@jchambers jchambers added this to the v0.6.1 milestone Apr 9, 2016
As long as the ping timout is less than the period at which we send pings when idle, we don't need to correlate ACKs to PINGs.
@jchambers jchambers merged commit a418604 into master Apr 10, 2016
@jchambers jchambers deleted the ping_when_idle branch April 10, 2016 15:37
@jmason
Copy link

jmason commented Apr 11, 2016

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants