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


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

Reply via email to