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

GH-461: Fix heartbeats with wantReply=true #507

Merged
merged 1 commit into from
May 29, 2024

Conversation

tomaswolf
Copy link
Member

Switch from a timeout model to the OpenSSH model: fail if there are more than a certain number of heartbeats for which no reply was received yet.

Fixes #461.

Copy link
Contributor

@gnodet gnodet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx, two minor issues left.

CHANGES.md Outdated Show resolved Hide resolved
Switch from a timeout model to the OpenSSH model: fail if there
are more than a certain number of heartbeats for which no reply
was received yet.

Bug: apache#461
@tomaswolf
Copy link
Member Author

tomaswolf commented May 29, 2024

Also in the newest change: when TIMEOUT is explicitly set <= 0 and NO_REPLY_MAX is not set, set NO_REPLY_MAX to zero.

@tomaswolf tomaswolf merged commit 624b1b2 into apache:master May 29, 2024
8 checks passed
@tomaswolf
Copy link
Member Author

Thanks for the review!

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.

heartbeat timeout of a session will cause the links of other sessions to be disconnected
2 participants