From d8c0d87c90c41f0df14cced1f5959e4b9c1c0199 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 29 Aug 2014 00:14:10 +0900 Subject: [PATCH] src: Add missing SETTINGS ID to debug output SETTINGS_MAX_FRAME_SIZE and SETTINGS_MAX_HEADER_LIST_SIZE are 2 missing SETTINGS IDs and now they are shown correctly. --- src/app_helper.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app_helper.cc b/src/app_helper.cc index 18e21519..2611a45d 100644 --- a/src/app_helper.cc +++ b/src/app_helper.cc @@ -99,6 +99,10 @@ const char* strsettingsid(int32_t id) return "SETTINGS_MAX_CONCURRENT_STREAMS"; case NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: return "SETTINGS_INITIAL_WINDOW_SIZE"; + case NGHTTP2_SETTINGS_MAX_FRAME_SIZE: + return "SETTINGS_MAX_FRAME_SIZE"; + case NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: + return "SETTINGS_MAX_HEADER_LIST_SIZE"; default: return "UNKNOWN"; }