mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
To avoid a function call `BufferList.prototype.concat()` is not called when there is only a buffer in the list. That buffer is instead accessed directly. Backport-PR-URL: https://github.com/nodejs/node/pull/19483 PR-URL: https://github.com/nodejs/node/pull/18239 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>