cloudflare/quiche
Ver no GitHubMake PTO duration usage and calculation uniform
Open
#2.369 aberto em 25 de fev. de 2026
good first issue
Métricas do repositório
- Stars
- (6.975 stars)
- Métricas de merge de PR
- (Mesclagem média 3d 9h) (5 fundiu PRs em 30d)
Description
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