FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

stream: be less eager with readable flag · nodejs/node@756ab9c · GitHub

/ node Public

Commit 756ab9c

Browse files
authored andcommitted
stream: be less eager with readable flag
As of 34b535f, test-child-process-flush-stdio was failing on CentOS 5 systems in CI due to the change in stream state checking in `child_process`. This commit fixes those failures by making readable streams less eager in setting their readable flag on EOF. Fixes: #4125 PR-URL: #4141 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 458facd commit 756ab9c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎lib/_stream_readable.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ function onEofChunk(stream, state) {
385385
}
386386
}
387387
state.ended = true;
388-
stream.readable = false;
389388

390389
// emit 'readable' now to make sure it gets picked up.
391390
emitReadable(stream);

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL