Skip to content

ackhandler: avoid calling time.Now() when generating ACK frame#4886

Merged
marten-seemann merged 1 commit intomasterfrom
received-packet-tracker-no-time-now
Jan 18, 2025
Merged

ackhandler: avoid calling time.Now() when generating ACK frame#4886
marten-seemann merged 1 commit intomasterfrom
received-packet-tracker-no-time-now

Conversation

@marten-seemann
Copy link
Copy Markdown
Member

Similar to #4885. It's better to pass in the timestamp from the connection.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.38%. Comparing base (29f98a2) to head (c6ab52a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4886      +/-   ##
==========================================
- Coverage   83.38%   83.38%   -0.01%     
==========================================
  Files         151      151              
  Lines       16217    16230      +13     
==========================================
+ Hits        13522    13532      +10     
- Misses       2158     2160       +2     
- Partials      537      538       +1     

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

@marten-seemann marten-seemann merged commit 92dc197 into master Jan 18, 2025
@marten-seemann marten-seemann deleted the received-packet-tracker-no-time-now branch January 18, 2025 09:57
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