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-410) Do not seek SshFile(s) input/output streams if requested offset is zero
Date Mon, 23 Feb 2015 15:42:12 GMT

     [ 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)

Mime
View raw message