374252 - SslConnection.onClose() does not forward to nested connection.

This commit is contained in:
Simone Bordet 2012-03-14 16:12:46 +01:00
parent 2f7f232d12
commit 4a02fdb6c0
1 changed files with 3 additions and 0 deletions

View File

@ -237,6 +237,9 @@ public class SslConnection extends AbstractConnection implements AsyncConnection
/* ------------------------------------------------------------ */
public void onClose()
{
Connection connection = _sslEndPoint.getConnection();
if (connection != null && connection != this)
connection.onClose();
}
/* ------------------------------------------------------------ */