• Guus der Kinderen's avatar
    OF-883: Prevent sending data to known disconnected peers. · 3e54c820
    Guus der Kinderen authored
    By closing a session when the new MINA inputClosed() handler is triggered, we run
    the risk of sending data to the peer. As that peer is known to be dead, this is
    pointless (and potentially dangerous - deadlocks have been observed that are likely
    related to this scenario).
    
    To prevent sending data during session closure, the close() method has been
    overloaded with an argument that indicates if the peer is known to be dead. When
    set, its implementation will not attempt to send data.
    3e54c820
Name
Last commit
Last update
..
BlockingAcceptingMode.java Loading commit data...
BlockingReadingMode.java Loading commit data...
ChannelInputStream.java Loading commit data...
ClientStanzaHandler.java Loading commit data...
ClientTrustManager.java Loading commit data...
ComponentStanzaHandler.java Loading commit data...
DNSUtil.java Loading commit data...
IOExecutor.java Loading commit data...
MXParser.java Loading commit data...
MulticastDNSService.java Loading commit data...
MultiplexerStanzaHandler.java Loading commit data...
OCSPChecker.java Loading commit data...
SASLAuthentication.java Loading commit data...
SSLConfig.java Loading commit data...
SSLJiveKeyManager.java Loading commit data...
SSLJiveKeyManagerFactory.java Loading commit data...
SSLJiveTrustManager.java Loading commit data...
SSLJiveTrustManagerFactory.java Loading commit data...
SelectorAction.java Loading commit data...
ServerSocketReader.java Loading commit data...
ServerStanzaHandler.java Loading commit data...
ServerTrafficCounter.java Loading commit data...
ServerTrustManager.java Loading commit data...
SocketAcceptThread.java Loading commit data...
SocketAcceptingMode.java Loading commit data...
SocketConnection.java Loading commit data...
SocketPacketWriteHandler.java Loading commit data...
SocketReader.java Loading commit data...
SocketReadingMode.java Loading commit data...
SocketSendingTracker.java Loading commit data...
StalledSessionsFilter.java Loading commit data...
StanzaHandler.java Loading commit data...
TLSStatus.java Loading commit data...
TLSStreamHandler.java Loading commit data...
TLSStreamReader.java Loading commit data...
TLSStreamWriter.java Loading commit data...
TLSWrapper.java Loading commit data...
VirtualConnection.java Loading commit data...
XMLSocketWriter.java Loading commit data...
XMPPCallbackHandler.java Loading commit data...