Commit bdf07f43 authored by Robert Nagy's avatar Robert Nagy Committed by Rich Trott
Browse files

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: default avatarMatteo Collina <matteo.collina@gmail.com>
parent a0cc62f3
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