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, shutdownOutputaddHandshakeCompletedListener, 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, toStringgetApplicationProtocol, getHandshakeApplicationProtocol, getHandshakeApplicationProtocolSelector, getHandshakeSession, getSSLParameters, setHandshakeApplicationProtocolSelector, setSSLParameterssetSocketImplFactorypublic InputShutdownCheckingSslSocket(SdkSSLSocket sock)
public OutputStream getOutputStream() throws IOException
getOutputStream in class DelegateSSLSocketIOExceptionCopyright © 2024. All rights reserved.