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

Add timeout on pipe activity #109

Open
gdamore opened this issue Aug 5, 2019 · 0 comments
Open

Add timeout on pipe activity #109

gdamore opened this issue Aug 5, 2019 · 0 comments

Comments

@gdamore
Copy link
Contributor

gdamore commented Aug 5, 2019

There is a desire for certain applications to have connections time out more quickly than would normally be available using TCP keep alive timeouts.

A good mechanism for this would be to have a per-pipe activity timer, that closes a pipe if no activity is seen on it for a while. It's not clear that there is a good default for this other than to be disabled by default, as this is intrinsically an application specific thing. (In particular, there could be applications which don't have any activity for a while.)

Longer term (not this issue) we might consider adding a transport layer keep alive that uses shorter values. In fact, in NNG we do have such a thing for the ZeroTier transport. Making such a change would require changes to the protocol however, so it's out of scope for now.

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

No branches or pull requests

1 participant