Issue Details (XML | Word | Printable)

Key: DIRMINA-93
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Niklas Therning
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

Acceptor.unbind() doesn't disconnect connected clients.

Created: 30/Sep/05 11:43 AM   Updated: 23/Jan/06 12:07 PM
Return to search
Component/s: None
Affects Version/s: 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4
Fix Version/s: 0.9.1

Time Tracking:
Not Specified

Issue Links:
Blocker
 

Resolution Date: 05/Jan/06 07:39 AM


 Description  « Hide
IoAcceptor currently doesn't disconnect connected clients and this will cause FD leakage and make clients stall because server is not responding at all.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee added a comment - 17/Oct/05 06:46 PM
Decided to fix this issue in MINA 0.9.

Trustin Lee added a comment - 18/Oct/05 12:37 AM
We need to Implement IoSessionMap to hold the list of sessions, and then use it to resolve DIRMINA-93.

Niklas Therning added a comment - 05/Jan/06 07:39 AM
This issue has been resolved for SocketAcceptorDelegate and VmPipeAcceptor. It doesn't apply to DatagramAcceptorDelegate. For SocketAcceptorDelegate and VmPipeAcceptor, all connected sessions will now be disconnected by default on unbind. This feature can be turned off by calling IoAcceptor.setDisconnectClientsOnUnbind(false).

Trustin Lee added a comment - 23/Jan/06 12:07 PM
I will close this issue now. But we need to implement this feature for Datagram transport when DIRMINA-162 is resolved.