In node js, Socket Timeout by default has been set for Two Minutes in the package itself which i found in the documentation. I want the location where this code is lying inside the package so that i can modify them.
I found the following alternate solution but I want it to be changed in the core library.
var serverInstance = http.createServer(app).listen(port, function(){
// code
}
serverInstance.timeout = 0; // for disabling the timeout
serverInstance.on('timeout', function(socket){
// custom code
});
For your Reference: 1.) Express.js is the server API 2.) connect.js is the session management API