diff -r f2293e8566f5 -r 407c428adb5b org/sonews/daemon/Connections.java --- a/org/sonews/daemon/Connections.java Thu Aug 20 18:41:21 2009 +0200 +++ b/org/sonews/daemon/Connections.java Tue Apr 27 21:51:12 2010 +0200 @@ -134,7 +134,8 @@ while (iter.hasNext()) { conn = iter.next(); - if((System.currentTimeMillis() - conn.getLastActivity()) > timeoutMillis) + if((System.currentTimeMillis() - conn.getLastActivity()) > timeoutMillis + && conn.getBuffers().isOutputBufferEmpty()) { // A connection timeout has occurred so purge the connection iter.remove();