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

Added watchdog for ping going into the peer_client. #247

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

AdamMagaluk
Copy link
Collaborator

If no pings are seen coming from the cloud after 30sec disconnect ws and reconnect. Monkey patch is kinda shitty but I couldn't find another way with how spdy doesn't expose the abstract connection that emits ping. Still gotta at some tests.

What's your thoughts on this approach? @mdobson @kevinswiber

@mdobson
Copy link
Contributor

mdobson commented Oct 22, 2015

Looks like a good approach to me.

@kevinswiber
Copy link
Member

I think this is the best approach we can do today. There may be a different option when we upgrade to the 2.0 branch of the spdy library. Thanks for whipping this together.

AdamMagaluk added a commit that referenced this pull request Oct 26, 2015
Added watchdog for ping going into the peer_client.
@AdamMagaluk AdamMagaluk merged commit 16e990b into master Oct 26, 2015
@AdamMagaluk AdamMagaluk deleted the ping-timeout-peer-client branch October 26, 2015 13:42
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