Skip to content

doc: correct stream Duplex allowHalfOpen doc

Rodrigo Muino Tomonari requested to merge github/fork/Trott/fixStreamDoc into master

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.

Fixes: https://github.com/nodejs/node/issues/4044

/cc @calvinmetcalf @nodejs/streams

Checklist
Affected core subsystem(s)

doc stream

Merge request reports

Loading