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

feat: application layer heartbeat #136

Merged
merged 4 commits into from
Mar 8, 2022
Merged

feat: application layer heartbeat #136

merged 4 commits into from
Mar 8, 2022

Conversation

rapiz1
Copy link
Owner

@rapiz1 rapiz1 commented Mar 8, 2022

When connecting via a proxy, TCP keepalive can't make sure the whole connection is alive. Also in practice, some firewalls are found to intercept keepalive ACK packets. So application layer heartbeat is helpful in these cases.

  • Implement application layer heartbeat
  • Make the heartbeat interval configurable
  • Adjust TCP keepalive default settings
  • Update docs

@rapiz1 rapiz1 merged commit 2746a0e into dev Mar 8, 2022
@rapiz1 rapiz1 deleted the heartbeat branch March 8, 2022 15:27
cssivision pushed a commit to cssivision/rathole that referenced this pull request Apr 21, 2022
* feat: application layer heartbeat

* feat: make heartbeat configurable

* fix: update keepalive params

* docs: update about heartbeat
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.

1 participant