You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2011/05/08 20:27:03 UTC

[jira] [Commented] (SSHD-131) ScpCommand should call SshFile.handleClose() when done with a file.

    [ https://issues.apache.org/jira/browse/SSHD-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030520#comment-13030520 ] 

Guillaume Nodet commented on SSHD-131:
--------------------------------------

Not sure to understand the problem.  SshFile are mainly opened from SSH_FXP_OPEN and the corresponding handles are closed (hence calling SshFile#handleClose()) when the SSH_FXP_CLOSE is called for that handle.

> ScpCommand should call SshFile.handleClose() when done with a file.
> -------------------------------------------------------------------
>
>                 Key: SSHD-131
>                 URL: https://issues.apache.org/jira/browse/SSHD-131
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Taras Puchko
>
> SshFile.handleClose() is useless, since ScpCommand never calls it and an SshFile cannot detect if it's being used by SftpSubsystem or ScpCommand.

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