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

stop sending Transport Parameters extension of multiple QUIC versions #604

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented Jan 28, 2025

Up until now, when running as a client, quicly has been sending two Transport Parameters extensions, one for QUIC version 1 and another for draft 27/29. The contents of the two extensions are identical, but the extension ID is different.

The assumption of doing so has been that QUIC stacks will pick the one having the extension ID corresponding to the QUIC version being selected.

But apparently, this approach fails when quicly tries to connect to mvfst. Fizz (mvfst) intentionally detects such use and refuses to complete the handshake; see https://github.com/facebook/mvfst/blob/b70f3d2a849690565513ee6cc6fe4a4f97688b34/quic/fizz/handshake/FizzTransportParameters.h#L164-L167.

While it is debatable which side is doing wrong, it would be easier for quicly to just stop sending a Transport Parameters extension of an ID other than the protocol version that quicly has chosen.

@kazuho kazuho merged commit 91542af into master Jan 28, 2025
5 checks passed
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.

1 participant