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

reset the PTO when dropping a packet number space #2527

Merged
merged 1 commit into from
May 5, 2020

Conversation

marten-seemann
Copy link
Member

If numProbesToSend != 0, then
https://github.com/lucas-clemente/quic-go/blob/c0b6d4e141d6dca43023a8c9ae0f437bb943f182/internal/ackhandler/sent_packet_handler.go#L647-L649
will return SendNone as send mode. That means that if numProbesToSend was > 0, and we drop the packet number space, we'd be unable to send out any packet, leading to a stall of the connection.

@codecov-io
Copy link

codecov-io commented May 5, 2020

Codecov Report

Merging #2527 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2527   +/-   ##
=======================================
  Coverage   86.14%   86.14%           
=======================================
  Files         122      122           
  Lines        9536     9537    +1     
=======================================
+ Hits         8214     8215    +1     
  Misses        984      984           
  Partials      338      338           
Impacted Files Coverage Δ
internal/ackhandler/sent_packet_handler.go 70.85% <100.00%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c0b6d4e...741a1aa. Read the comment docs.

@marten-seemann marten-seemann merged commit b7af419 into master May 5, 2020
@marten-seemann marten-seemann deleted the reset-pto-when-dropping-packet-number-space branch May 5, 2020 12:13
@Stebalien Stebalien mentioned this pull request May 26, 2020
77 tasks
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.

3 participants