mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
parent
f0f053fed0
commit
c124e6b3c0
10 changed files with 97 additions and 6 deletions
|
|
@ -1159,7 +1159,7 @@ static void populate_settings(struct connectdata *conn,
|
|||
nghttp2_settings_entry *iv = httpc->local_settings;
|
||||
|
||||
iv[0].settings_id = NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS;
|
||||
iv[0].value = 100;
|
||||
iv[0].value = (uint32_t)Curl_multi_max_concurrent_streams(conn->data->multi);
|
||||
|
||||
iv[1].settings_id = NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE;
|
||||
iv[1].value = HTTP2_HUGE_WINDOW_SIZE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue