-
Notifications
You must be signed in to change notification settings - Fork 581
Add versioning support for Connection resumption ticket #5114
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
Changes from 11 commits
432e317
b9e611f
0e870ec
21d078a
7f0b0ea
1b29169
4b7d523
420e08e
2eee4ab
e4114bb
eb246f1
48f6e9f
f176b1b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -747,6 +747,7 @@ QuicSettingApply( | |||
Destination->StreamMultiReceiveEnabled = Source->StreamMultiReceiveEnabled; | ||||
Destination->IsSet.StreamMultiReceiveEnabled = TRUE; | ||||
} | ||||
|
||||
return TRUE; | ||||
} | ||||
|
||||
|
@@ -1819,7 +1820,7 @@ QuicSettingsSettingsToInternal( | |||
_Out_ QUIC_SETTINGS_INTERNAL* InternalSettings | ||||
) | ||||
{ | ||||
if (!CXPLAT_STRUCT_HAS_FIELD(QUIC_SETTINGS, SettingsSize, MtuDiscoveryMissingProbeCount)) { | ||||
if (!CXPLAT_STRUCT_HAS_FIELD(QUIC_SETTINGS, SettingsSize, StreamRecvWindowUnidiDefault)) { | ||||
Comment on lines
-1822
to
+1823
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Revert? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The existing code seems to be measuring the size of the struct incorrectly. I have updated this to point to the last member of QUIC_SETTINGS ( Line 839 in 2e4a9f0
|
||||
return QUIC_STATUS_INVALID_PARAMETER; | ||||
} | ||||
|
||||
|
@@ -2000,7 +2001,7 @@ QuicSettingsGetSettings( | |||
QUIC_SETTINGS* Settings | ||||
) | ||||
{ | ||||
uint32_t MinimumSettingsSize = (uint32_t)CXPLAT_STRUCT_SIZE_THRU_FIELD(QUIC_SETTINGS, MtuDiscoveryMissingProbeCount); | ||||
uint32_t MinimumSettingsSize = (uint32_t)CXPLAT_STRUCT_SIZE_THRU_FIELD(QUIC_SETTINGS, StreamRecvWindowUnidiDefault); | ||||
Comment on lines
-2003
to
+2004
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Revert? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Downlevel tests are failing... got to revert this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would it be correct to say that MtuDiscoveryMissingProbeCount is part of the earliest released QUIC_SETTINGS struct and our API contract requires us to accept these smaller sized structs? Is there reference documentation around this? |
||||
|
||||
if (*SettingsLength == 0) { | ||||
*SettingsLength = sizeof(QUIC_SETTINGS); | ||||
|
Uh oh!
There was an error while loading. Please reload this page.