[ https://issues.apache.org/jira/browse/PROTOCOLS-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved PROTOCOLS-23. ------------------------------------ Resolution: Fixed Fix Version/s: 1.4.1 Fixed... Thanks for the patch! > Incorrect counting on connection limit > -------------------------------------- > > Key: PROTOCOLS-23 > URL: https://issues.apache.org/jira/browse/PROTOCOLS-23 > Project: JAMES Protocols > Issue Type: Bug > Reporter: TzeKai Lee > Assignee: Norman Maurer > Fix For: 1.4.1 > > Attachments: ConnectionLimit.patch > > > The counter in ConnectionLimitUpstreamHandler and > ConnectionPerIpLimitUpstreamHandler will decrease one more than expected when > the connection reaches limit, therefore the handler can not really limit > connection numbers. > Say, if the limit is set to 2, connections will go like 0 -> 1 -> 2 -> > refused -> 3 -> refused -> 4. > And the total connection limit counter is offseted by 1. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org