You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Eugene Petrenko (JIRA)" <ji...@apache.org> on 2016/01/26 23:05:39 UTC

[jira] [Created] (SSHD-632) Cannot override Nio2Session creation inside Nio2Acceptor

Eugene Petrenko created SSHD-632:
------------------------------------

             Summary: Cannot override Nio2Session creation inside Nio2Acceptor
                 Key: SSHD-632
                 URL: https://issues.apache.org/jira/browse/SSHD-632
             Project: MINA SSHD
          Issue Type: Bug
            Reporter: Eugene Petrenko


I use logging MDC in my application to separate logging between clients/threads/IPs and so on. Currently I see some logging in the library that cannot be wrapped with setup/teardown of MDC (logging multiple diagnostics context).

I see that Nio2Session class creation is hardcoded inside implementation of Noi2Acceptor class. 
Next, in Nio2Session class it's not possible to override onCompleted handler inside doReadCycle methods' callback. Moving it as instance method may help as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)