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

fix: MaybePackProbePacket also use QUIC spec #34

Merged
merged 1 commit into from
May 3, 2024

Conversation

gaukas
Copy link
Contributor

@gaukas gaukas commented May 2, 2024

Patch MaybePackProbePacket to also generate the initial packet based on the QUIC spec if set. This fixes the incorrect behavior observed on automatic retry on timeout (sending probe packet), where uquic was inccorectly sending the default frames (PADDING, CRYPTO) instead of specified frames by QUIC spec.

Fixes #33.

Related to #32. This PR does not fix the problem of not being able to send the initial packet when parrot generates an oversized Initial Packet exceeding the MTU.

Patch MaybePackProbePacket to also generate the initial packet based on the QUIC spec if set. This fixes the incorrect behavior observed on automatic retry on timeout (sending probe packet), where uquic was inccorectly sending the default frames (PADDING, CRYPTO) instead of specified frames by QUIC spec.

Signed-off-by: Gaukas Wang <[email protected]>
@gaukas gaukas requested a review from sippejw May 2, 2024 04:39
@gaukas gaukas self-assigned this May 2, 2024
@gaukas gaukas marked this pull request as ready for review May 2, 2024 04:45
@gaukas
Copy link
Contributor Author

gaukas commented May 2, 2024

Ginkgo tests will always fail, I guess it doesn't matter.

I patched the failing Ginkgo tests in a different PR. And I believe the related bug has nothing to do with this PR.

@gaukas gaukas merged commit 9178bdb into master May 3, 2024
12 of 14 checks passed
@gaukas gaukas deleted the fix-33-probe-pkt-ignore-spec branch May 3, 2024 01:27
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.

bug: quic-go sending fallback Initial Packets that is not according to parrot specs
1 participant