Skip to content

quiche: update HTTP/3 config creation to new API - #4437

Closed
LPardue wants to merge 2 commits into
curl:masterfrom
LPardue:quiche-h3-config
Closed

LPardue wants to merge 2 commits into
curl:masterfrom
LPardue:quiche-h3-config

Conversation

@LPardue

@LPardue LPardue commented Sep 27, 2019

Copy link
Copy Markdown
Contributor

Depends on pending changes to quiche: 4a51aad615975a4051ea32e2d25104feac90c430 and 906646c43512efcd651f415b279cb89797c97fb8. See https://github.com/cloudflare/quiche/pull/180/commits for context

Comment thread lib/vquic/quiche.c Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we can omit this. Hardcoding the limit here is not very useful and AFAICT the ngtcp2 backend doesn't set a limit, so we should probably be consistent.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Make sense. For anyone not tracking H3 specs closely, if an endpoint doesn't set a HTTP_MAX_HEADER_LIST_SIZE it is treated as effectively unlimited. Constructing the Config object and not setting anything will invoke that behaviour.

@bagder bagder added the HTTP/3 h3 or quic related label Sep 28, 2019
Comment thread lib/vquic/quiche.c Resolved
Co-Authored-By: Alessandro Ghedini <alessandro@ghedini.me>
@ghedo

ghedo commented Sep 29, 2019 •

Copy link
Copy Markdown
Contributor

The quiche PR was merged, so to avoid breaking other curl builds I squashed and pushed this change manually as 19338e9 even if the builds are not finished yet (I tested this locally first). If something breaks I'll look into preparing a fix.

@ghedo ghedo closed this Sep 29, 2019
@ghedo

ghedo commented Sep 29, 2019

Copy link
Copy Markdown
Contributor

Aaaaand I forgot to add "Closes: ..." to the commit message 🤦‍♂️

@lock lock Bot locked as resolved and limited conversation to collaborators Dec 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

HTTP/3 h3 or quic related

Development

Successfully merging this pull request may close these issues.

3 participants