You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2020/05/14 15:45:00 UTC

[jira] [Commented] (VFS-772) SFTP resolveFile() can freeze while testing if the server disabled the exec channel

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

Gary D. Gregory commented on VFS-772:
-------------------------------------

Please try {{org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.setDisableDetectExecChannel(FileSystemOptions, boolean)}} in git master or a SNAPSHOT build from [https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-vfs2/]

 

> SFTP resolveFile() can freeze while testing if the server disabled the exec channel
> -----------------------------------------------------------------------------------
>
>                 Key: VFS-772
>                 URL: https://issues.apache.org/jira/browse/VFS-772
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Rémi Villé
>            Priority: Major
>
> Since 2.5.0 (VFS-590) the SftpFileSystem constructor checks if it can execute commands by testing "id -u" (see SftpFileSystem#detectExecDisabled()), but with some servers the call stay blocked in SftpFileSystem#executeCommand("id -u", output).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)