Remove CWMP_KEEP_ALIVE_TIMEOUT

This turned out not to be necessary. Will use SESSION_TIMEOUT for
connection timeout.
This commit is contained in:
Zaid Abdulla committed 2019-09-05 17:18:04 -07:00
1 parent b5efe6c578
commit 6f0e1d66ce
4 files changed
+3 -16

No files matched your search

+2 -2
View File
@@ -56,7 +56,7 @@ export function start(
ssl,
_listener,
onConnection?,
keepAliveTimeout: number = 0
keepAliveTimeout: number = -1
): void {
listener = _listener;
@@ -77,7 +77,7 @@ export function start(
if (onConnection != null) server.on("connection", onConnection);
}
if (keepAliveTimeout) server.keepAliveTimeout = keepAliveTimeout;
if (keepAliveTimeout >= 0) server.keepAliveTimeout = keepAliveTimeout;
server.listen(port, networkInterface);
}