SSLIOSession sslSession = (SSLIOSession) session.getAttribute(
SSL_SESSION);
try {
synchronized (sslSession) {
while (sslSession.isAppInputReady()) {
conn.consumeInput(this.handler);
}
sslSession.inboundTransport();
}
} catch (IOException ex) {
this.handler.exception(conn, ex);