We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acaf5dd commit 848c2d5Copy full SHA for 848c2d5
src/node_http2.cc
@@ -1650,11 +1650,12 @@ void Http2Session::HandleSettingsFrame(const nghttp2_frame* frame) {
1650
int32_t settings_id = iv[i].settings_id;
1651
if (settings_id >=
1652
IDX_SETTINGS_COUNT) { // unsupported, additional settings
1653
+ auto iv_value = iv[i].value;
1654
for (size_t j = 0; j < numsettings; ++j) {
1655
if ((remote_custom_settings_.entries[j].settings_id & 0xFFFF) ==
1656
settings_id) {
1657
remote_custom_settings_.entries[j].settings_id = settings_id;
- remote_custom_settings_.entries[j].value = iv[i].value;
1658
+ remote_custom_settings_.entries[j].value = iv_value;
1659
break;
1660
}
1661
0 commit comments