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 2015/01/08 12:14:34 UTC

[jira] [Created] (SSHD-401) Allow user control over ScpCommand send/receive buffer size

Goldstein Lyor created SSHD-401:
-----------------------------------

             Summary: Allow user control over ScpCommand send/receive buffer size
                 Key: SSHD-401
                 URL: https://issues.apache.org/jira/browse/SSHD-401
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 0.14.0
            Reporter: Goldstein Lyor
            Priority: Minor


While 8192 is a good rule-of-thumb value for I/O buffering, IMO we should allow users to fine-tune it to their needs. Attached is a patch suggestion. *Note*: the patch also optimizes the allocated I/O buffer by taking into consideration the *size* of the file it is expecting to send/receive



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