Commit e3b44b6b authored by Anna Henningsen's avatar Anna Henningsen Committed by James M Snell
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.

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


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