You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Doug Tucker (JIRA)" <ji...@apache.org> on 2014/11/30 22:55:12 UTC
[jira] [Updated] (SSHD-375) Buffer.MAX_LEN and
DefaultSftpClient#write() don't play well t
[ https://issues.apache.org/jira/browse/SSHD-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Tucker updated SSHD-375:
-----------------------------
Attachment: 0001-SSHD-375-implement-internal-chunking-in-DefaultSftpC.patch
attaching patch
> Buffer.MAX_LEN and DefaultSftpClient#write() don't play well t
> --------------------------------------------------------------
>
> Key: SSHD-375
> URL: https://issues.apache.org/jira/browse/SSHD-375
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Doug Tucker
> Attachments: 0001-SSHD-375-implement-internal-chunking-in-DefaultSftpC.patch
>
>
> if you make a call to the write() method with a number bigger than Buffer.MAX_LEN, Buffer.getBytes() will throw an IllegalArgumentException.
> I'll shortly edit this JIRA with a .patch file that implements a fix for this - an internal "chunking" method in the write() call - and new tests for this functionality.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)