forked from I2P_Developers/i2p.i2p
SAM: Set keepalive on sockets (ticket #1573)
Also on both sides of I2CP. BOB already does it.
This commit is contained in:
@ -93,6 +93,7 @@ class ClientListenerRunner implements Runnable {
|
||||
if (validate(socket)) {
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
_log.debug("Connection received");
|
||||
socket.setKeepAlive(true);
|
||||
runConnection(socket);
|
||||
} else {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
|
Reference in New Issue
Block a user