mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SSHD-401) Allow user control over ScpCommand send/receive buffer size
Date Thu, 08 Jan 2015 11:17:35 GMT

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

Goldstein Lyor updated SSHD-401:
--------------------------------
    Attachment: 0013-SSHD-401-Allow-user-control-over-ScpCommand-send-rec.patch

Attached recommended code change

> 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
>         Attachments: 0013-SSHD-401-Allow-user-control-over-ScpCommand-send-rec.patch
>
>
> 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)

Mime
View raw message