We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Over at request/request I documented an issue that is looking increasingly like a problem in keypress rather than the request module.
keypress
request
In a nutshell:
Given this program:
require("keypress")(process.stdin); var request = require('request'); request.get("https://github.com/request/request/issues/511").pipe(process.stdout);
The command:
node foo.js
prints the entire document, but the command
node foo.js | cat
is truncated after 1024 characters with this error:
stream.js:94 throw er; // Unhandled stream error in pipe. ^ Error: write EPIPE at errnoException (net.js:904:11) at Object.afterWrite (net.js:720:19)
Taking out the first line (the call to keypress) makes the issue go away.
I assume that this is probably true for most streams - the use of request here is probably not required to recreate the issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Over at request/request I documented an issue that is looking increasingly like a problem in
keypress
rather than therequest
module.In a nutshell:
Given this program:
The command:
prints the entire document, but the command
node foo.js | cat
is truncated after 1024 characters with this error:
Taking out the first line (the call to
keypress
) makes the issue go away.I assume that this is probably true for most streams - the use of
request
here is probably not required to recreate the issue.The text was updated successfully, but these errors were encountered: