Closed llaurenss closed 1 year ago
Which node.js versions have you tried with?
Also, what version of busboy
are you using?
busboy is version 1.6.0 and node.js v18.15.0
edit: I updated node.js to v18.16.0 now but same thing happens
node.js v19.9.0 also same thing happening
Found the problem, the http server has a default timeout of 300 seconds which you can change with server.requestTimeout
FWIW I've now added a note about this in the readme in d08cc9cc5572a29354480f6ec829a042c68d8bac.
When im uploading a file after 5-11 minutes the upload will fail and say
ERR_CONNECTION_ABORTED
im not getting any errors in the Nodejs server. It happens no matter the file size or upload speed. If the file finishes uploading before the 5-11 minute mark everything is fine. I've also tried a different browser but with no success.I've also recorded a video, I've throttled the network speed to 8mbps so the file upload wouldn't be uploaded instantly because its on localhost. https://youtu.be/uR4AtencXJw
This is my code: