[
https://issues.apache.org/jira/browse/DIRMINA-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561440#action_12561440
]
Mark Webb commented on DIRMINA-516:
-----------------------------------
Why not write a variant of the BlacklistFilter? This should stop the session
creation and data reading in time.
http://mina.apache.org/report/trunk/xref/org/apache/mina/filter/firewall/BlacklistFilter.html
> Provide IoHandler.sessionCreating() method
> ------------------------------------------
>
> Key: DIRMINA-516
> URL: https://issues.apache.org/jira/browse/DIRMINA-516
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Environment: All
> Reporter: chenliangde
>
> is better IoHandler provides a sessionCreating Method, reasons:
> 1. to take care the things have to be done before session created.
> Some times messageReceived() is called before sessionCreated()
> returned.
> 2. To stop session creation. If the connection count limitation is reached ,
> or the connection comes from blocked IP,
> the server can prevent the session creation to save resource.
>
> Thanks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.