diff -r f2293e8566f5 -r 60c237bb677a org/sonews/daemon/ChannelWriter.java --- a/org/sonews/daemon/ChannelWriter.java Thu Aug 20 18:41:21 2009 +0200 +++ b/org/sonews/daemon/ChannelWriter.java Sat May 01 18:51:57 2010 +0200 @@ -169,6 +169,9 @@ // events until we have something to write to the socket channel //selKey.cancel(); selKey.interestOps(0); + // Update activity timestamp to prevent too early disconnects + // on slow client connections + connection.setLastActivity(System.currentTimeMillis()); return; }