public final class InputShutdownCheckingSslSocket extends SdkSSLSocket
write()
. In TLS 1.3, it is
permitted for the connection to be in a half-closed state, which is dangerous for the Apache client because it can get stuck in
a state where it continues to write to the socket and potentially end up a blocked state writing to the socket indefinitely.sock
Constructor and Description |
---|
InputShutdownCheckingSslSocket(SdkSSLSocket sock) |
Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream() |
close, connect, connect, shutdownInput, shutdownOutput
addHandshakeCompletedListener, bind, getChannel, getEnabledCipherSuites, getEnabledProtocols, getEnableSessionCreation, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getNeedClientAuth, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSession, getSoLinger, getSoTimeout, getSupportedCipherSuites, getSupportedProtocols, getTcpNoDelay, getTrafficClass, getUseClientMode, getWantClientAuth, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, removeHandshakeCompletedListener, sendUrgentData, setEnabledCipherSuites, setEnabledProtocols, setEnableSessionCreation, setKeepAlive, setNeedClientAuth, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, setUseClientMode, setWantClientAuth, startHandshake, toString
getApplicationProtocol, getHandshakeApplicationProtocol, getHandshakeApplicationProtocolSelector, getHandshakeSession, getSSLParameters, setHandshakeApplicationProtocolSelector, setSSLParameters
setSocketImplFactory
public InputShutdownCheckingSslSocket(SdkSSLSocket sock)
public OutputStream getOutputStream() throws IOException
getOutputStream
in class DelegateSSLSocket
IOException
Copyright © 2025. All rights reserved.