From 00b89ec641289e5ee8422daf44a77cde5791f01d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Apr 2021 17:51:19 +0200 Subject: [PATCH] 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 --- lib/http2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3