cloudflare/quiche
Auf GitHub ansehenMake PTO duration usage and calculation uniform
Open
#2.369 geöffnet am 25. Feb. 2026
good first issue
Repository-Metriken
- Stars
- (6.975 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 3T 9h) (5 gemergte PRs in 30 T)
Beschreibung
We have a few p.recovery.pto * 3 calculations scattered throughout the codebase. These seem to be used for calculating timeouts. It would be nice to have this logic extracted into its own function.
Examples:
- https://github.com/cloudflare/quiche/blob/83f919f0dcf49f973f8f425a4dcd5754fc47fe33/quiche/src/lib.rs#L8452-L8455
- https://github.com/cloudflare/quiche/blob/83f919f0dcf49f973f8f425a4dcd5754fc47fe33/quiche/src/lib.rs#L3233
- https://github.com/cloudflare/quiche/blob/83f919f0dcf49f973f8f425a4dcd5754fc47fe33/quiche/src/lib.rs#L4706