From 7f7e16884c80b8e8ddfb4f8d56f4ac1bb9635512 Mon Sep 17 00:00:00 2001 From: Bryan Call Date: Thu, 11 Feb 2016 18:58:08 -0800 Subject: [PATCH 1/2] TS-3917: Sending only SETTINGS_INITIAL_WINDOW_SIZE in SETTINGS Frame --- proxy/http2/HTTP2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/http2/HTTP2.cc b/proxy/http2/HTTP2.cc index 5cb9d79048e..2f1dffd2499 100644 --- a/proxy/http2/HTTP2.cc +++ b/proxy/http2/HTTP2.cc @@ -727,7 +727,7 @@ http2_decode_header_blocks(HTTPHdr *hdr, const uint8_t *buf_start, const uint8_t } // Initialize this subsystem with librecords configs (for now) -uint32_t Http2::max_concurrent_streams = 100; +uint32_t Http2::max_concurrent_streams = 4294967295; uint32_t Http2::initial_window_size = 1048576; uint32_t Http2::max_frame_size = 16384; uint32_t Http2::header_table_size = 4096; From 9ef1fb54f6a8938ba479baa23226278d612fd98d Mon Sep 17 00:00:00 2001 From: Bryan Call Date: Thu, 11 Feb 2016 20:50:57 -0800 Subject: [PATCH 2/2] TS-3917: Sending only SETTINGS_INITIAL_WINDOW_SIZE in SETTINGS Frame --- proxy/http2/HTTP2.cc | 2 +- proxy/http2/HTTP2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/http2/HTTP2.cc b/proxy/http2/HTTP2.cc index 2f1dffd2499..5cb9d79048e 100644 --- a/proxy/http2/HTTP2.cc +++ b/proxy/http2/HTTP2.cc @@ -727,7 +727,7 @@ http2_decode_header_blocks(HTTPHdr *hdr, const uint8_t *buf_start, const uint8_t } // Initialize this subsystem with librecords configs (for now) -uint32_t Http2::max_concurrent_streams = 4294967295; +uint32_t Http2::max_concurrent_streams = 100; uint32_t Http2::initial_window_size = 1048576; uint32_t Http2::max_frame_size = 16384; uint32_t Http2::header_table_size = 4096; diff --git a/proxy/http2/HTTP2.h b/proxy/http2/HTTP2.h index ebac76fb927..10e22e30d3c 100644 --- a/proxy/http2/HTTP2.h +++ b/proxy/http2/HTTP2.h @@ -54,7 +54,7 @@ const size_t HTTP2_SETTINGS_PARAMETER_LEN = 6; // SETTINGS initial values. NOTE: These should not be modified // unless the protocol changes! Do not change this thinking you // are changing server defaults. that is done via RecordsConfig.cc -const uint32_t HTTP2_MAX_CONCURRENT_STREAMS = 100; +const uint32_t HTTP2_MAX_CONCURRENT_STREAMS = UINT_MAX; const uint32_t HTTP2_INITIAL_WINDOW_SIZE = 65535; const uint32_t HTTP2_MAX_FRAME_SIZE = 16384; const uint32_t HTTP2_HEADER_TABLE_SIZE = 4096;