engine = ((SslConnection.DecryptedEndPoint)ep).getSslConnection().getSSLEngine(); else ep = null;
if (appOuts[0]!=__FILL_CALLED_FLUSH && !getFillInterest().isInterested()) fill(__FLUSH_CALLED_FILL); releaseEncryptedOutputBuffer();
closeInbound(); if (net_filled <= 0) return net_filled; closeInbound(); return -1; flush(__FILL_CALLED_FLUSH); if (BufferUtil.isEmpty(_encryptedOutput)) close(); throw new EofException(e); close(); throw e;
closeInbound(); if (net_filled <= 0) return net_filled; closeInbound(); return -1; flush(__FILL_CALLED_FLUSH); if (BufferUtil.isEmpty(_encryptedOutput)) close(); throw e;
if (_flushState==FlushState.IDLE && flush(BufferUtil.EMPTY_BUFFER)) continue; LOG.debug("net filled={}", net_filled); if (net_filled > 0 && _handshake.get() == Handshake.INITIAL && isOutboundDone()) throw new SSLHandshakeException("Closed during handshake"); if (net_filled < 0 && _sslEngine.getUseClientMode()) closeInbound(); return filled = -1; handshakeSucceeded(); if (isRenegotiating() && !allowRenegotiate()) return filled = -1; handshakeFailed(x); getExecutor().execute(()->_decryptedEndPoint.getWriteFlusher().onFail(x)); getExecutor().execute(()->_decryptedEndPoint.getWriteFlusher().completeWrite()); close(x); throw x;
if (appOuts[0]!=__FILL_CALLED_FLUSH && !getFillInterest().isInterested()) fill(__FLUSH_CALLED_FILL); releaseEncryptedOutputBuffer();
if (_flushState==FlushState.IDLE && flush(BufferUtil.EMPTY_BUFFER)) continue; LOG.debug("net filled={}", net_filled); if (net_filled > 0 && _handshake.get() == Handshake.INITIAL && isOutboundDone()) throw new SSLHandshakeException("Closed during handshake"); if (net_filled < 0 && _sslEngine.getUseClientMode()) closeInbound(); return filled = -1; handshakeSucceeded(); if (isRenegotiating() && !allowRenegotiate()) return filled = -1; handshakeFailed(x); getExecutor().execute(()->_decryptedEndPoint.getWriteFlusher().onFail(x)); getExecutor().execute(()->_decryptedEndPoint.getWriteFlusher().completeWrite()); close(x); throw x;
if (_fillState==FillState.IDLE) int filled = fill(BufferUtil.EMPTY_BUFFER); if (_sslEngine.getHandshakeStatus()!=status) continue; handshakeSucceeded(); if (isRenegotiating() && !allowRenegotiate()) handshakeFailed(x); throw x; close(x); throw x;
if (_fillState==FillState.IDLE) int filled = fill(BufferUtil.EMPTY_BUFFER); if (_sslEngine.getHandshakeStatus()!=status) continue; handshakeSucceeded(); if (isRenegotiating() && !allowRenegotiate()) handshakeFailed(x); throw x; close(x); throw x;
if (appOuts[0]!=__FILL_CALLED_FLUSH && !getFillInterest().isInterested()) fill(__FLUSH_CALLED_FILL); releaseEncryptedOutputBuffer();
if (appOuts[0]!=__FILL_CALLED_FLUSH && !getFillInterest().isInterested()) fill(__FLUSH_CALLED_FILL); releaseEncryptedOutputBuffer();
int filled = fill(BufferUtil.EMPTY_BUFFER); close(e); write = BufferUtil.EMPTY_BUFFER; _flushState = FlushState.WRITING; getEndPoint().write(_incompleteWriteCallback, write); else if (fillInterest) ensureFillInterested(); close(x); throw x;
int filled = fill(BufferUtil.EMPTY_BUFFER); close(e); write = BufferUtil.EMPTY_BUFFER; _flushState = FlushState.WRITING; getEndPoint().write(_incompleteWriteCallback, write); else if (fillInterest) ensureFillInterested(); close(x); throw x;
getExecutor().execute(_runFillable); else if (interest) ensureFillInterested(); close(x); throw x;
if (isOutputShutdown()) getWriteFlusher().onClose();
getExecutor().execute(_runFillable); else if (interest) ensureFillInterested(); close(x); throw x;
engine = ((SslConnection.DecryptedEndPoint)ep).getSslConnection().getSSLEngine(); else ep = null;
SslConnection.this.fillInterested(); else if (isOutputShutdown()) getWriteFlusher().onClose(); getWriteFlusher().completeWrite();