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

packet packer: don't try packing a 0-RTT packet with only an ACK #3849

Merged
merged 1 commit into from
May 28, 2023

Conversation

marten-seemann
Copy link
Member

0-RTT packets can't contain ACK frames. This was correctly reflected in the code path for packing a 0-RTT packet, but we would ignore the ACK-only flag when packing the coalesced packet, leading to a full-size 0-RTT packet being sent out when we're only allowed to send an ACK-only packet.

0-RTT packets can't contain ACK frames. This was correctly reflected in the
code path for packing a 0-RTT packet, but we would ignore the ACK-only flag
when packing the coalesced packet, leading to a full-size 0-RTT packet being
sent out when we're only allowed to send an ACK-only packet.
@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #3849 (79a1808) into master (cb3453d) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3849      +/-   ##
==========================================
- Coverage   83.94%   83.93%   -0.01%     
==========================================
  Files         146      146              
  Lines       14307    14307              
==========================================
- Hits        12009    12008       -1     
- Misses       1858     1859       +1     
  Partials      440      440              
Impacted Files Coverage Δ
packet_packer.go 84.67% <100.00%> (ø)

... and 1 file with indirect coverage changes

@marten-seemann marten-seemann merged commit 762d5c2 into master May 28, 2023
30 checks passed
@marten-seemann marten-seemann deleted the dont-send-0rtt-on-ack-only branch May 30, 2023 07:10
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.

None yet

2 participants