[
https://issues.apache.org/jira/browse/DIRMINA-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124799#comment-14124799
]
Emmanuel Lecharny commented on DIRMINA-389:
-------------------------------------------
Anyway, I have added some lock to protect the filter against concurrent updates
(it's not enough to have a Synchornized map), used a ConcurrentHashMap instead
of a Synchronized hashMap and added a cleanup thread to be sure teh Map is not
growing up to the available memory...
> Create a Connection Throttle Filter
> -----------------------------------
>
> Key: DIRMINA-389
> URL: https://issues.apache.org/jira/browse/DIRMINA-389
> Project: MINA
> Issue Type: New Feature
> Components: Filter
> Environment: All
> Reporter: Mark Webb
> Assignee: Mark Webb
> Priority: Minor
> Fix For: 2.0.8
>
>
> Create a filter that will throttle connections. This filter will monitor
> newly created sessions and if new connections from the same IP address come
> in too fast, drop the connections.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)