-
Notifications
You must be signed in to change notification settings - Fork 546
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
Add support for setting TypeOfService/TrafficClass on connections #4757
base: main
Are you sure you want to change the base?
Conversation
CMsg = (PWSACMSGHDR)&CMsgBuffer[CMsgLen]; | ||
CMsgLen += WSA_CMSG_SPACE(sizeof(INT)); | ||
CMsg->cmsg_level = | ||
Route->LocalAddress.si_family == QUIC_ADDRESS_FAMILY_INET ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LocalAddress might be the wrong address to use; if trying to send to an IPv4 address using a dual-mode socket, you need to set the IPv4 IP_TOS, instead of the IPV6_TCLASS
@@ -7207,27 +7228,55 @@ QuicConnParamGet( | |||
} | |||
|
|||
case QUIC_PARAM_CONN_ORIG_DEST_CID: | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: don't modify code that's not relevant to this PR?
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4757 +/- ##
==========================================
- Coverage 87.38% 86.74% -0.64%
==========================================
Files 56 56
Lines 17400 17421 +21
==========================================
- Hits 15205 15112 -93
- Misses 2195 2309 +114 ☔ View full report in Codecov by Sentry. |
Description
Resolves #4767. Add support for applications to set the Type of Service/Traffic Class field all traffic sent from a connection.
Testing
TBD
Documentation
Updated the settings document with the new get/set param.