SAM: Set keepalive on sockets (ticket #1573)

Also on both sides of I2CP.
BOB already does it.
This commit is contained in:
zzz
2015-05-12 20:13:17 +00:00
parent 40130a8a61
commit b5455cee6e
5 changed files with 6 additions and 0 deletions

View File

@ -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))