Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-812

support asynchronous mode for sftp subsystem

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 2.0.0
    • java1.8, linux

    Description

      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

       

      Attachments

        1. Main.java
          3 kB
          Zhenliang Su
        2. doRead.png
          29 kB
          Zhenliang Su

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              smoking Zhenliang Su
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: