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);might be a bad idea since multiple requests can be sent over the same socket.Try connect-timeout or use this: