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

When validating the configuration, ensure that the keepalive is valid #372

Merged
merged 4 commits into from
Apr 29, 2023

Conversation

danielealbano
Copy link
Owner

This PR add validation for the keepalive settings, if present but set to zero are currently accepted and this will cause a number of errors printed out on the console on every new connection.

@danielealbano danielealbano added the bug Something isn't working label Apr 29, 2023
@danielealbano danielealbano added this to the v0.3 milestone Apr 29, 2023
@danielealbano danielealbano self-assigned this Apr 29, 2023
@danielealbano danielealbano added this to In Progress in cachegrand via automation Apr 29, 2023
@danielealbano danielealbano enabled auto-merge (squash) April 29, 2023 08:50
src/config.c Fixed Show fixed Hide fixed
@codecov
Copy link

codecov bot commented Apr 29, 2023

Codecov Report

Patch coverage: 60.00% and project coverage change: -0.06 ⚠️

Comparison is base (90b8ca9) 78.70% compared to head (db5b11e) 78.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #372      +/-   ##
==========================================
- Coverage   78.70%   78.64%   -0.06%     
==========================================
  Files         184      184              
  Lines       12871    12867       -4     
==========================================
- Hits        10130    10119      -11     
- Misses       2741     2748       +7     
Flag Coverage Δ
unittests 78.64% <60.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/config.c 79.25% <60.00%> (-0.53%) ⬇️

... and 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@danielealbano danielealbano merged commit 8f52bd6 into main Apr 29, 2023
5 checks passed
cachegrand automation moved this from In Progress to Completed Apr 29, 2023
@danielealbano danielealbano deleted the bug-ensure-network-keepalive-is-valid branch April 29, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
cachegrand
  
Completed
Development

Successfully merging this pull request may close these issues.

None yet

1 participant