Unverified Commit 5b97e31f authored by Joyee Cheung's avatar Joyee Cheung
Browse files

http2: remove pushValueToArray in Http2Session::HandleHeadersFrame

Instead of calling into JS from C++ to push values into an array,
use the new Array::New API that takes a pointer and a length
directly.

PR-URL: https://github.com/nodejs/node/pull/24264


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarDaniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
parent 60eca6a5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment