quiche: disable pacing while pacing is not actually performed

Closes #11068
This commit is contained in:
François Michel 2023-05-03 12:13:40 +02:00 committed by Daniel Stenberg
parent d8df0d6db7
commit 89f6fafedb
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -1258,6 +1258,7 @@ static CURLcode cf_connect_start(struct Curl_cfilter *cf,
failf(data, "can't create quiche config");
return CURLE_FAILED_INIT;
}
quiche_config_enable_pacing(ctx->cfg, false);
quiche_config_set_max_idle_timeout(ctx->cfg, QUIC_IDLE_TIMEOUT);
quiche_config_set_initial_max_data(ctx->cfg, (1 * 1024 * 1024)
/* (QUIC_MAX_STREAMS/2) * H3_STREAM_WINDOW_SIZE */);