diff -r f2293e8566f5 -r 3af4237e4a15 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 Wed Jun 30 14:48:53 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; }