-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
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
curl: (55) Send failure: Broken pipe error #3312
Labels
question
Issues that look for answers.
Comments
Can you direct your question to https://github.com/nodejs/help? Thanks. |
This was referenced Feb 20, 2022
This was referenced Sep 29, 2022
This was referenced Oct 5, 2022
This was referenced Oct 8, 2022
This was referenced May 22, 2024
This was referenced May 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
My app.js
var http = require('http');
var fs = require('fs');
http.createServer(function(req, res){
var newFile = fs.createWriteStream('new_file.mkv');
var method = req.method;
var newSize = 0;
if(method == 'PUT'){
}
}).listen(8000, function(){
console.log('Listening..');
});
console command:
curl --upload-file read.mkv http://127.0.0.1:8000
Result:
curl: (55) Send failure: Broken pipe
What am I doing wrong?
The text was updated successfully, but these errors were encountered: