mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
If allowHalfOpen is set to false, the stream will automatically end the writable side when the readable side ends, but not the other way around. PR-URL: https://github.com/nodejs/node/pull/14127 Fixes: https://github.com/nodejs/node/issues/4044 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>