You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2015/02/19 15:27:13 UTC

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

Goldstein Lyor created SSHD-410:
-----------------------------------

             Summary: 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
            Priority: Minor


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)