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

fix: apply lb settings after lb mode change #4036

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

qzhuyan
Copy link
Contributor

@qzhuyan qzhuyan commented Jan 3, 2024

Description

Fixing an issue where the CID prefix
lengths (MsQuicLib.CidServerIdLength and MsQuicLib.CidTotalLength) weren't being updated properly when transitioning the lb mode from its default state (disabled) to QUIC_LOAD_BALANCING_SERVER_ID_IP. This resulted in the server source CIDs not being prefixed with the source IP

Testing

New unittest:
TEST(SettingsTest, GlobalLoadBalancingServerIDSet)

Documentation

NO

Fixing an issue where the CID prefix
lengths (MsQuicLib.CidServerIdLength and MsQuicLib.CidTotalLength)
weren't being updated properly when transitioning the lb mode from its
default state (disabled) to QUIC_LOAD_BALANCING_SERVER_ID_IP. This
resulted in the server source CIDs not being prefixed with the source IP
@nibanks nibanks added external Proposed by non-MSFT Area: Core Related to the shared, core protocol logic labels Jan 3, 2024
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c4a5a38) 86.19% compared to head (7d830c9) 87.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4036      +/-   ##
==========================================
+ Coverage   86.19%   87.02%   +0.82%     
==========================================
  Files          56       56              
  Lines       16929    16930       +1     
==========================================
+ Hits        14592    14733     +141     
+ Misses       2337     2197     -140     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nibanks nibanks merged commit d7a3658 into microsoft:main Jan 4, 2024
394 of 396 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Core Related to the shared, core protocol logic external Proposed by non-MSFT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants