From: Daniel Stenberg Date: Mon, 5 Apr 2021 15:51:19 +0000 (+0200) Subject: h2: allow 100 streams by default X-Git-Tag: curl-7_76_1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00b89ec641289e5ee8422daf44a77cde5791f01d;p=thirdparty%2Fcurl.git h2: allow 100 streams by default instead of 13, before the server has told how many streams it accepts. The server can always reject new streams anyway if we go above what it accepts. Ref: #6826 Closes #6852 --- diff --git a/lib/http2.h b/lib/http2.h index 150f7219f0..114b382718 100644 --- a/lib/http2.h +++ b/lib/http2.h @@ -29,7 +29,7 @@ /* value for MAX_CONCURRENT_STREAMS we use until we get an updated setting from the peer */ -#define DEFAULT_MAX_CONCURRENT_STREAMS 13 +#define DEFAULT_MAX_CONCURRENT_STREAMS 100 /* * Store nghttp2 version info in this buffer, Prefix with a space. Return