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

QuicTestValidateConnectionEvents3 fix to use duoNic with normal socket #4310

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

ami-GS
Copy link
Contributor

@ami-GS ami-GS commented May 17, 2024

Description

One fix of #4309

Testing

Build without "-EnableLinuxXDP"
./artifacts/bin/linux/x64_Debug_openssl3/msquictest --gtest_filter="ParameterValidation/WithValidateConnectionEventArgs.ValidateConnectionEvents/2" --duoNic
Locally passed

Documentation

N/A

@ami-GS ami-GS requested a review from a team as a code owner May 17, 2024 05:13
Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.26%. Comparing base (9cab5bf) to head (4120e51).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4310      +/-   ##
==========================================
- Coverage   86.04%   85.26%   -0.79%     
==========================================
  Files          56       56              
  Lines       15382    15382              
==========================================
- Hits        13236    13115     -121     
- Misses       2146     2267     +121     

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

QuicAddrGetFamily(&ServerLocalAddr.SockAddr),
QuicAddrGetFamily(&ServerLocalAddr.SockAddr) == QUIC_ADDRESS_FAMILY_INET ? QUIC_ADDRESS_FAMILY_INET : QUIC_ADDRESS_FAMILY_INET6,
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is always 0, which does not work appropriately with duonic as it assert check the family whether 4 or 6.
Normal socket case just uses ipv6 localhost if it is 0. This change is for duonic to work with 0.

@ami-GS ami-GS merged commit 576f1f6 into main Jun 4, 2024
337 of 354 checks passed
@ami-GS ami-GS deleted the dev/daiki/connection_event_fix branch June 4, 2024 18:19
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.

None yet

2 participants