mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (SSHD-967) transferTo function of SftpRemotePathChannel always add some extra bytes in the end of file
Date Thu, 20 Feb 2020 20:04:00 GMT

     [ https://issues.apache.org/jira/browse/SSHD-967?focusedWorklogId=390208&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-390208
]

ASF GitHub Bot logged work on SSHD-967:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Feb/20 20:03
            Start Date: 20/Feb/20 20:03
    Worklog Time Spent: 10m 
      Work Description: NitinRanjan commented on pull request #111: [SSHD-967] fixed byte
buffer issue
URL: https://github.com/apache/mina-sshd/pull/111
 
 
   In the last cycle of write if read size was less than buffer size remaining buffer indexes
was still containing old value and was flushed in the file.
   Fix this by giving the amount of byte to be wrapped to  flushed to file
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 390208)
    Remaining Estimate: 0h
            Time Spent: 10m

> transferTo function of SftpRemotePathChannel always add some extra bytes in the end of
file
> -------------------------------------------------------------------------------------------
>
>                 Key: SSHD-967
>                 URL: https://issues.apache.org/jira/browse/SSHD-967
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Nitin Ranjan
>            Priority: Major
>             Fix For: 2.4.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> transferTo function of SftpRemotePathChannel always add some extra bytes in the end of
file
>  
> I have tried to transfer gz file from sftp server after transfer when I tried to decompress
it it was giving warning 
> *decompression ok trailing garbage ignored*
>  
> When I checked the file I found some extra bytes appended to the file
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


Mime
View raw message