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 TCP KeepAlive options to configuration #673

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Dec 20, 2023

Fixes: #674
Relates to: #652

In order to enable users of BlueChi to tweak its networking behavior, the TCP KeepAlive options - which were set anyway to internally defined defaults - are made configurable. In addition, a new struct has been introduced to bundle socket related options.
Also, parts of the bus utils which are related to socket functionality were moved to the respective socket source files.

@engelmi engelmi force-pushed the add-keepalive-config-options branch 2 times, most recently from 74ff3ef to ed77ddd Compare December 20, 2023 16:15
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

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

LGTM

@engelmi
Copy link
Member Author

engelmi commented Dec 20, 2023

Added a few unit tests for the new functionality as well.

Fixes: #674
Relates to: #652

In order to enable users of BlueChi to tweak its networking
behavior, the TCP KeepAlive options - which were set anyway
to internally defined defaults - are made configurable. In
addition, a new struct has been introduced to bundle socket
related options.
Also, parts of the bus utils which are related to socket
functionality were moved to the respective socket source
files.

Signed-off-by: Michael Engel <mengel@redhat.com>
@engelmi engelmi merged commit 52cf38a into main Dec 21, 2023
18 checks passed
@engelmi engelmi deleted the add-keepalive-config-options branch December 21, 2023 11:25
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.

Add KeepAlive options to configuration
2 participants