close idle SSL with shutdown

This commit is contained in:
Greg Wilkins 2011-11-18 15:33:05 +11:00
parent f70ed3ac21
commit defc729d69
1 changed files with 15 additions and 0 deletions

View File

@ -239,6 +239,21 @@ public class SslConnection extends AbstractConnection implements AsyncConnection
}
/* ------------------------------------------------------------ */
@Override
public void onIdleExpired()
{
try
{
_sslEndPoint.shutdownOutput();
}
catch (IOException e)
{
LOG.warn(e);
super.onIdleExpired();
}
}
/* ------------------------------------------------------------ */
public void onInputShutdown() throws IOException
{