← Commit list

c7b1e10dc1

CatboxParadox
CatboxParadox
2026-07-29
SUCCESS Duration: 425s

Subject

h2: bootstrap max streams from multi handle if in use

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/http2.c+3 -1
@@ -2412,7 +2412,9 @@ static CURLcode cf_h2_ctx_open(struct Curl_cfilter *cf,
failf(data, "Could not initialize nghttp2");
goto out;
}
- ctx->max_concurrent_streams = DEFAULT_MAX_CONCURRENT_STREAMS;
+ ctx->max_concurrent_streams = data->multi ?
+ Curl_multi_max_concurrent_streams(data->multi) :
+ DEFAULT_MAX_CONCURRENT_STREAMS;
if(ctx->via_h1_upgrade) {
/* HTTP/1.1 Upgrade issued. H2 Settings have already been submitted