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/29 10:34:39 UTC

[jira] [Created] (SSHD-636) Allow to override socket.write method in Nio2Session

Eugene Petrenko created SSHD-636:
------------------------------------

             Summary: Allow to override socket.write method in Nio2Session
                 Key: SSHD-636
                 URL: https://issues.apache.org/jira/browse/SSHD-636
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Eugene Petrenko


There is a good method where reading is started: {{org.apache.sshd.common.io.nio2.Nio2Session#doReadCycle(java.nio.ByteBuffer, org.apache.sshd.common.io.nio2.Nio2CompletionHandler<java.lang.Integer,java.lang.Object>)}} 
It could be nice to have similar signature method for writing. 

My main goal is to include better logging MDC context for each callback. This allows to split logging per client, thus making it possible to figure out what a particular client/connection was working on 



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