413414415416417418419420421422423
} } catch (SSLException ssle) { if (!handler.isHandshakeComplete()) { SSLException newSSLE = new SSLHandshakeException( "SSL handshake failed."); newSSLE.initCause(ssle); ssle = newSSLE; } throw ssle; }
577578579580581582583584585586587
} catch( SSLException ssle ) { SSLException newSSLE = new SSLHandshakeException( "Initial SSL handshake failed." ); newSSLE.initCause( ssle ); throw newSSLE; } if( getOutNetBuffer().hasRemaining() ) { if( SessionLog.isDebugEnabled( session ) )
421422423424425426427428429430431
{ if( !handler.isInitialHandshakeComplete() ) { SSLException newSSLE = new SSLHandshakeException( "Initial SSL handshake failed." ); newSSLE.initCause( ssle ); ssle = newSSLE; } throw ssle; }
650651652653654655656657658659660
while (needToCompleteHandshake()) { try { handshake(nextFilter); } catch (SSLException ssle) { SSLException newSsle = new SSLHandshakeException("SSL handshake failed."); newSsle.initCause(ssle); throw newSsle; } IoBuffer outNetBuffer = fetchOutNetBuffer(); if (outNetBuffer != null && outNetBuffer.hasRemaining()) {
503504505506507508509510511512513
} } } catch (SSLException ssle) { if (!sslHandler.isHandshakeComplete()) { SSLException newSsle = new SSLHandshakeException("SSL handshake failed."); newSsle.initCause(ssle); ssle = newSsle; } else { // Free the SSL Handler buffers sslHandler.release(); }
483484485486487488489490491492493
} } } catch (SSLException ssle) { if (!handler.isHandshakeComplete()) { SSLException newSsle = new SSLHandshakeException("SSL handshake failed."); newSsle.initCause(ssle); ssle = newSsle; } throw ssle; }
307308309310311312313314315316317
{ if( !sslHandler.isInitialHandshakeComplete() ) { SSLException newSSLE = new SSLHandshakeException( "Initial SSL handshake failed." ); newSSLE.initCause( ssle ); ssle = newSSLE; } throw ssle; }
} catch( SSLException ssle ) { SSLException newSSLE = new SSLHandshakeException( "Initial SSL handshake failed." ); newSSLE.initCause( ssle ); throw newSSLE; } if( sslHandler.getOutNetBuffer().hasRemaining() ) { if( log.isDebugEnabled() )
575576577578579580581582583584585