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 the server's 0-RTT rejection logic when using GetConfigForClient #4550

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

marten-seemann
Copy link
Member

No description provided.

@@ -813,87 +813,93 @@ var _ = Describe("0-RTT", func() {
Entry("doesn't reject 0-RTT when the server's transport connection flow control limit increased", func(c *quic.Config, limit uint64) { c.InitialConnectionReceiveWindow = limit }),
)

for _, l := range []int{0, 15} {
connIDLen := l
Copy link
Member Author

Choose a reason for hiding this comment

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

This didn't work.

Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.15%. Comparing base (dea2eaf) to head (fa9ca00).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4550      +/-   ##
==========================================
- Coverage   85.16%   85.15%   -0.01%     
==========================================
  Files         154      154              
  Lines       14811    14801      -10     
==========================================
- Hits        12613    12603      -10     
  Misses       1690     1690              
  Partials      508      508              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marten-seemann marten-seemann merged commit 459a6f3 into master Jun 3, 2024
34 checks passed
@marten-seemann marten-seemann deleted the fix-server-0rtt-rejection branch June 4, 2024 05:11
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.

server incorrectly allows 0-RTT with reduced limits when using tls.Config.GetConfigForClient
1 participant