-
Notifications
You must be signed in to change notification settings - Fork 5.3k
quiche: update QUICHE to 4f552f349b8df000af24bc6cfa0b78fdc2467fef #19013
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 all commits
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 |
|---|---|---|
|
|
@@ -31,9 +31,10 @@ std::vector<uint8_t> createFakeStatelessResetToken() { | |
| std::unique_ptr<quic::TransportParameters> makeFakeTransportParams() { | ||
| auto params = std::make_unique<quic::TransportParameters>(); | ||
| params->perspective = quic::Perspective::IS_CLIENT; | ||
| params->version = FakeVersionLabel; | ||
| params->supported_versions.push_back(FakeVersionLabel); | ||
| params->supported_versions.push_back(FakeVersionLabel2); | ||
| params->legacy_version_information = quic::TransportParameters::LegacyVersionInformation(); | ||
|
Contributor
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. Oh, interesting. I'm slightly surprised that this is required because I thought it was optional. But I guess it's going to be optional eventually, just not yet?
Contributor
Author
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. It is optional indeed. But this test uses this field.
Contributor
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.
|
||
| params->legacy_version_information->version = FakeVersionLabel; | ||
| params->legacy_version_information->supported_versions.push_back(FakeVersionLabel); | ||
| params->legacy_version_information->supported_versions.push_back(FakeVersionLabel2); | ||
| params->max_idle_timeout_ms.set_value(FakeIdleTimeoutMilliseconds); | ||
| params->stateless_reset_token = createFakeStatelessResetToken(); | ||
| params->max_udp_payload_size.set_value(FakeMaxPacketSize); | ||
|
|
||
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.
We're planning to back-port these patches to QUICHE, right?
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.
This was added in QUICHE so I needed to adjust the patch lines here.
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.
nod but I mean all of the diffs in this file. For example, are we planning to back-port the ssize_t typdef, the NO_ERROR and the default returns?
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.
+1, why not simply ban use of
ssize_tin QUICHE via a presubmit?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.
IIRC, it's used by nghttp somewhere that oghttp has to overload (or some such).
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.
Yeah, nghttp2 uses ssize_t. Envoy actually has a similar workaround in envoy/common/platform.h.
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.
I'm working on back-porting the fixes in the patch file. Some of these patches will be unnecessary in the next QUICHE update.
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.
Awesome, that's great to hear!