Commit 836b18fb authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Changed idle timeout to consider incoming traffic only. JM-1066

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9263 b35dd754-fafc-0310-a699-88a17e54d16e
parent 09bff230
......@@ -75,7 +75,7 @@ public abstract class ConnectionHandler extends IoHandlerAdapter {
// Set the max time a connection can be idle before closing it
int idleTime = getMaxIdleTime();
if (idleTime > 0) {
session.setIdleTime(IdleStatus.BOTH_IDLE, idleTime);
session.setIdleTime(IdleStatus.READER_IDLE, idleTime);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment