Commit 05b823d4 authored by Anna Henningsen's avatar Anna Henningsen Committed by Myles Borins
Browse files

http2: remove redundant write indirection

`nghttp2_stream_write_t` was not a necessary redirection layer
and came with the cost of one additional allocation per stream write.

Also, having both `nghttp2_stream_write` and `nghttp2_stream_write_t`
as identifiers did not help with readability.

Backport-PR-URL: https://github.com/nodejs/node/pull/18050
Backport-PR-URL: https://github.com/nodejs/node/pull/20456
PR-URL: https://github.com/nodejs/node/pull/17718


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent fc40b7de
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