Disable quiche pacing while is not actually performed by curl #11068
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
Just a one-line commit that disables pacing in the quiche library as currently curl does not
perform pacing when sending the QUIC packets.
When pacing is enabled, quiche assumes that packet are sent at the asked time,
see https://github.com/cloudflare/quiche/blob/6cef26b946695300b214cd837a92dc1774c0ba84/quiche/src/recovery/mod.rs#L376
If packets are sent earlier than the asked time, it can lead to wrong RTT estimations (undersestimations), as the RTT estimation will be based on the packet sent time. At its turn, this can have an impact on the hystart algorithm
afterwards that is currently enabled too, and quiche may exit the slow-start too early and underestimate the link bandwidth.