mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SSHD-116) Shouldn't throw an exception when receiving an unsupported SFTP message
Date Fri, 01 Jul 2011 08:52:28 GMT

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

Guillaume Nodet resolved SSHD-116.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6.0
         Assignee: Guillaume Nodet

> Shouldn't throw an exception when receiving an unsupported SFTP message
> -----------------------------------------------------------------------
>
>                 Key: SSHD-116
>                 URL: https://issues.apache.org/jira/browse/SSHD-116
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: Nick Howes
>            Assignee: Guillaume Nodet
>              Labels: sftp
>             Fix For: 0.6.0
>
>         Attachments: sftp-unsupported-op.patch
>
>
> Unsupported SFTP message types should just respond with SSH_FX_OP_UNSUPPORTED, and not
also throw an exception, since that ends the session. When I use Ubuntu's Nautilus integration
for SFTP that attempts READLINK requests quite a lot, which are currently unimplemented in
SftpSubsytem. If we stop throwing the exception and just return the unsupported response,
it works fine.
> Attaching a patch.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message