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

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

     [ https://issues.apache.org/jira/browse/SSHD-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SSHD-632 started by Goldstein Lyor.
-------------------------------------------
> Cannot override Nio2Session creation inside Nio2Acceptor
> --------------------------------------------------------
>
>                 Key: SSHD-632
>                 URL: https://issues.apache.org/jira/browse/SSHD-632
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Eugene Petrenko
>            Assignee: Goldstein Lyor
>            Priority: Minor
>
> 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)