Zhenliang Su created SSHD-812:
---------------------------------

             Summary: support asynchronization mode for sftp subsystem
                 Key: SSHD-812
                 URL: https://issues.apache.org/jira/browse/SSHD-812
             Project: MINA SSHD
          Issue Type: New Feature
    Affects Versions: 1.7.0
         Environment: java1.8, linux
            Reporter: Zhenliang Su
         Attachments: Main.java

I used SSHD as a middleman between client and target sftp server.

I found that, when filezilla client directly connect to the target sftp server, 
it transfers fast. When filezilla client connect to the middleman, it transfers 
slow.

I analyzed the source code of 
org.apache.sshd.server.subsystem.sftp.SftpSubsystem#doRead, and I found it 
behaves like block mode, and client's other SSH_FXP_READ request blocked in the 
same thread.

 

my middleman code:

 [^Main.java]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to