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 4e3052a

Browse filesBrowse files
jasnelltargos
authored andcommitted
quic: fixup errant LocalVector usage
PR-URL: #56564 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent a9d80d4 commit 4e3052a
Copy full SHA for 4e3052a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/quic/session.cc‎

Copy file name to clipboardExpand all lines: src/quic/session.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2728,7 +2728,7 @@ void Session::EmitVersionNegotiation(const ngtcp2_pkt_hd& hd,
27282728

27292729
LocalVector<Value> versions(env()->isolate(), nsv);
27302730
for (size_t n = 0; n < nsv; n++) {
2731-
versions.push_back(Integer::NewFromUnsigned(env()->isolate(), sv[n]));
2731+
versions[n] = Integer::NewFromUnsigned(env()->isolate(), sv[n]);
27322732
}
27332733

27342734
// supported are the versions we acutually support expressed as a range.

0 commit comments

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