• Guus der Kinderen's avatar
    OF-883: Prevent sending data to known disconnected peers. · 0d75703d
    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.
    0d75703d
Name
Last commit
Last update
build Loading commit data...
documentation Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...