mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Tucker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-375) Buffer.MAX_LEN and DefaultSftpClient#write() don't play well t
Date Sun, 30 Nov 2014 21:51:12 GMT
Doug Tucker created SSHD-375:
--------------------------------

             Summary: 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


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)

Mime
View raw message