Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 848c2d5

Browse filesBrowse files
RafaelGSSmarco-ippolito
authored andcommitted
src: cache invariant code motion
PR-URL: #53879 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent acaf5dd commit 848c2d5
Copy full SHA for 848c2d5

1 file changed

+2-1Lines changed: 2 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_http2.cc‎

Copy file name to clipboardExpand all lines: src/node_http2.cc
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1650,11 +1650,12 @@ void Http2Session::HandleSettingsFrame(const nghttp2_frame* frame) {
16501650
int32_t settings_id = iv[i].settings_id;
16511651
if (settings_id >=
16521652
IDX_SETTINGS_COUNT) { // unsupported, additional settings
1653+
auto iv_value = iv[i].value;
16531654
for (size_t j = 0; j < numsettings; ++j) {
16541655
if ((remote_custom_settings_.entries[j].settings_id & 0xFFFF) ==
16551656
settings_id) {
16561657
remote_custom_settings_.entries[j].settings_id = settings_id;
1657-
remote_custom_settings_.entries[j].value = iv[i].value;
1658+
remote_custom_settings_.entries[j].value = iv_value;
16581659
break;
16591660
}
16601661
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.