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