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:
parent
c751860af2
commit
7cad4ebe52
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue