changeset 25 | dd05c3f2fa24 |
parent 15 | f2293e8566f5 |
1.1 --- a/org/sonews/daemon/ChannelWriter.java Wed Aug 26 17:04:04 2009 +0200 1.2 +++ b/org/sonews/daemon/ChannelWriter.java Fri Dec 25 15:42:46 2009 +0100 1.3 @@ -169,6 +169,9 @@ 1.4 // events until we have something to write to the socket channel 1.5 //selKey.cancel(); 1.6 selKey.interestOps(0); 1.7 + // Update activity timestamp to prevent too early disconnects 1.8 + // on slow client connections 1.9 + connection.setLastActivity(System.currentTimeMillis()); 1.10 return; 1.11 } 1.12