-
-
Notifications
You must be signed in to change notification settings - Fork 967
Closed
Labels
bugSomething does not work as it shouldSomething does not work as it shouldexternalThe issue related to an external projectThe issue related to an external project
Description
Describe the bug
- Node.js version: 13.10.0 or 13.10.1
- OS & version: Linux 5.5.6-1-MANJARO x86_64 GNU/Linux
got.stream
does not work with Node.js ≥ 13.10.0. Node.js 13.9.0 works fine.
Actual behavior
When piped into a stream, the receiving stream receives no data.
Expected behavior
When piped into a stream, the receiving stream receives the entire HTTP response.
Code to reproduce
const got = require("got");
got.stream("https://www.github.com/").pipe(process.stdout);
// one can also use stream.pipeline here. Same result.
With Node.js < 13.9.0, output fills the screen. With ≥ 13.10.0, there is no console output.
Checklist
- I have read the documentation.
- I have tried my code with the latest version of Node.js and Got.
silverwind, mekwall, ilnuribat, congqiao, z81 and 8 more
Metadata
Metadata
Assignees
Labels
bugSomething does not work as it shouldSomething does not work as it shouldexternalThe issue related to an external projectThe issue related to an external project