Is there any difference between keepAliveTimeout and connection timeout ? I am using node.js with express. I have specified timeout as follows:
const app = express();
app.listen(3000, '0.0.0.0', () => {
console.log(`The server is running at http://localhost:3000/`);
});
app.on('connection', (socket) => {
socket.setTimeout(60 * 1000);
});
Will above code change keepAliveTimeout ? In browser I am getting just Connection: keep-alive
header in browser. How can I check keepAliveTimeout of my application ?