mirror of
https://github.com/curl/curl.git
synced 2026-08-01 17:20:30 +03:00
parent
f76f79696e
commit
c7b1e10dc1
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue