You are welcome. On Mon, Apr 7, 2008 at 7:12 PM, "이희승 (Trustin Lee) <[EMAIL PROTECTED]> wrote:
> Hi Steve, > > Thank for reporting the bug. I've filed a JIRA issue and checked in the > fix. > > https://issues.apache.org/jira/browse/DIRMINA-566 > > HTH, > > Steve Johns wrote: > > I wonder whether ConnectionThrottleFilter misses > > "nextFilter.sessionCreated(session);" in sessionCreated function? > Without > > it, my IoHandlerAdapter sessionCreated function never got called. Once I > put > > "nextFilter.sessionCreated(session);", the IoHandlerAdapter > sessionCreated > > function works just fine. > > > > public void sessionCreated(NextFilter nextFilter, IoSession session) > > throws Exception { > > if (!isConnectionOk(session)) { > > logger.warn("Connections coming in too fast; closing."); > > session.close(); > > } > > > > nextFilter.sessionCreated(session); > > } > > > > -- > Trustin Lee - Principal Software Engineer, JBoss, Red Hat > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/ > >
