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/07/06 13:33:04 UTC

[jira] [Created] (SSHD-528) Use byte[] as the SFTP Handle identifier

Goldstein Lyor created SSHD-528:
-----------------------------------

             Summary: Use byte[] as the SFTP Handle identifier
                 Key: SSHD-528
                 URL: https://issues.apache.org/jira/browse/SSHD-528
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Goldstein Lyor
            Assignee: Goldstein Lyor
             Fix For: 1.0.0


According to the specification a _handle_ {quote}is an opaque variable-length string{quote}. Up until now the tests used _String_(s) because they were executed against the _Java_ server - which uses indeed strings. But real servers use a bunch of bytes - which if we try to decode as UTF-8 might yield exceptions since they might not be UTF-8 strings. E.g., it seems that _OpenSSH_ returns some kind of _int_ as the handle value.



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