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] [Work stopped] (SSHD-528) Use byte[] as the SFTP Handle identifier
Date Mon, 06 Jul 2015 13:27:04 GMT

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

Work on SSHD-528 stopped by Goldstein Lyor.
-------------------------------------------
> 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)

Mime
View raw message