Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/nio/SslConnection.java @ 973:4d9fe9cc554d
simplify AbstractConnection
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 15 Oct 2016 23:03:00 -0600 |
parents | 5ee36654b383 |
children | 7422ca1ae146 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SslConnection.java Sat Oct 15 22:42:05 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/SslConnection.java Sat Oct 15 23:03:00 2016 -0600 @@ -86,12 +86,7 @@ public SslConnection(SSLEngine engine,AsyncEndPoint endp) { - this(engine,endp,System.currentTimeMillis()); - } - - private SslConnection(SSLEngine engine,AsyncEndPoint endp, long timeStamp) - { - super(endp,timeStamp); + super(endp); _engine=engine; _session=_engine.getSession(); _aEndp=endp; @@ -221,24 +216,6 @@ return false; } - @Override - public void onIdleExpired(long idleForMs) - { - try - { - _logger.debug("onIdleExpired {}ms on {}",idleForMs,this); - if (_endp.isOutputShutdown()) - _sslEndPoint.close(); - else - _sslEndPoint.shutdownOutput(); - } - catch (IOException e) - { - _logger.warn("",e); - super.onIdleExpired(idleForMs); - } - } - public void onInputShutdown() throws IOException {