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)