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.
This commit is contained in:
Tatsuhiro Tsujikawa 2014-08-29 00:14:10 +09:00
parent 9b2c24ad68
commit d8c0d87c90
1 changed files with 4 additions and 0 deletions

View File

@ -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";
}