• 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
..
bin Loading commit data...
conf Loading commit data...
database Loading commit data...
i18n Loading commit data...
java Loading commit data...
javadoc/jdk15 Loading commit data...
plugins Loading commit data...
resources Loading commit data...
security Loading commit data...
spank Loading commit data...
test Loading commit data...
tools/anttask/org/jivesoftware/ant Loading commit data...
web Loading commit data...