Aleksandar wrote:

Hello,
my server uses mina 1.0.0. When client's internet connection goes
down, server does not close client's IoSession and continues to send
to client data. No exception is thrown.

Sometime ago we had a similar problem. This was because of a misconfigured firewall, which apparently blocked the client's last TCP ACK message so that the client thought the connection closed for good but the server thought it was still open.

You might want to implement some application level keepalive routine so that if the client does not respond to your message you will close the connection. (i.e. PING-PONG messages)

-Eero Nevalainen

Reply via email to