Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-410

Do not seek SshFile(s) input/output streams if requested offset is zero

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0, 1.0.0
    • None

    Description

      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

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            lgoldstein Lyor Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: