I was wondering if anyone could tell me what the default HTTP request timeout is when using express.
What I mean by this is: after how many seconds of dealing with a http request will the Express / Node.js server close the connection, when the browser nor server closed the connection manually?
How do I alter this timeout for a single route? I would like to set it to about 15 minutes for a special audio conversion route.
Thanks a lot.
Tom
req.connection.setTimeout(ms);
appears to set the request timeout for a HTTP server in Node.js.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With