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 2015/02/23 16:42:12 UTC

[jira] [Resolved] (SSHD-410) Do not seek SshFile(s) input/output streams if requested offset is zero

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

Guillaume Nodet resolved SSHD-410.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14.0
                   1.0.0
         Assignee: Guillaume Nodet

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=55d45e955f23ecfbb2382713cd77a04734c8785f

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=a3e21815267ad6e36c78b7c79d0baa0bec14094e

> Do not seek SshFile(s) input/output streams if requested offset is zero
> -----------------------------------------------------------------------
>
>                 Key: SSHD-410
>                 URL: https://issues.apache.org/jira/browse/SSHD-410
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.14.0
>            Reporter: Goldstein Lyor
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 1.0.0, 0.14.0
>
>         Attachments: 0018-SSHD-410-Do-not-seek-SshFile-s-input-output-streams-.patch
>
>
> Move to the appropriate offset only if non-zero. The reason for this check is that special "files" (e.g., _/proc_ or _/dev_ ones) might not support _seek_ to a specific position but rather only sequential read/write. If this is what is requested, there is no reason to risk incurring an _IOException_



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)