Skip to content

Commit

Permalink
quiche: disable pacing while pacing is not actually performed
Browse files Browse the repository at this point in the history
Closes #11068
  • Loading branch information
francoismichel authored and bagder committed May 3, 2023
1 parent d8df0d6 commit 89f6faf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vquic/curl_quiche.c
Expand Up @@ -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 */);
Expand Down

0 comments on commit 89f6faf

Please sign in to comment.