jetty-9: DecryptedEndPoint now delegates the set of the idle timeout to the underlying EndPoint.

DecryptedEndPoint does not perform any scheduling for idle timeouts, because those are done
by SelectChannelEndPoint that is the usual underlying EndPoint of DecryptedEndPoint.
In case of more nested EndPoint/Connection chains, EndPoints that delegate (such as
DecryptedEndPoint) should delegate the idle timeout to the underlying EndPoint.
This commit is contained in:
Simone Bordet 2012-10-06 18:32:21 +02:00
parent c751860af2
commit 7cad4ebe52
1 changed files with 6 additions and 0 deletions

View File

@ -334,6 +334,12 @@ public class SslConnection extends AbstractConnection
return super.getFillInterest();
}
@Override
public void setIdleTimeout(long idleTimeout)
{
super.setIdleTimeout(idleTimeout);
getEndPoint().setIdleTimeout(idleTimeout);
}
@Override
protected WriteFlusher getWriteFlusher()