http: simplify drain()
Simplify and slightly optimize draining outgoing http streams. Avoid extra event listener and inline with rest of the drain logic. PR-URL: https://github.com/nodejs/node/pull/29081 Reviewed-By:Matteo Collina <matteo.collina@gmail.com>
parent
a0cc62f3
Please register or sign in to comment