From ea5a1b60cfc934f9763585e3125dc52a6275f265 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 3 Aug 2013 18:05:53 +0900 Subject: [PATCH] Change NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS The previous value 100 is non-standard, and if it is not sent with SETTINGS, session will be closed with protocol error. --- lib/includes/nghttp2/nghttp2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index 02a6cdab..07d74b03 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -359,7 +359,7 @@ typedef enum { * @macro * Default maximum concurrent streams. */ -#define NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS 100 +#define NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS ((1U << 31) - 1) /** * @enum