399520 - Websocket Server Connection needs session idle timeouts

This commit is contained in:
Joakim Erdfelt 2013-02-21 08:21:01 -07:00
parent 246db2b08d
commit 660f6d2e85
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ public abstract class AbstractWebSocketConnection extends AbstractConnection imp
public AbstractWebSocketConnection(EndPoint endp, Executor executor, Scheduler scheduler, WebSocketPolicy policy, ByteBufferPool bufferPool)
{
super(endp,executor,EXECUTE_ONFILLABLE); // TODO review if this is best. Specifically with MUX
endp.setIdleTimeout(policy.getIdleTimeout());
this.policy = policy;
this.bufferPool = bufferPool;
this.generator = new Generator(policy,bufferPool);