[jira] [Commented] (SSHD-1182) skip() doesn't work properly in SftpInputStreamAsync

2021-06-15 Thread Pavel Stetsuk (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363440#comment-17363440
 ] 

Pavel Stetsuk commented on SSHD-1182:
-

SftpRemotePathChannel also affected. transferTo() dosn't work if start position 
> 0

I've fixed it also and added tests in SftpTest  and SftpRemotePathChannelTest

> skip() doesn't work properly in SftpInputStreamAsync
> 
>
> Key: SSHD-1182
> URL: https://issues.apache.org/jira/browse/SSHD-1182
> Project: MINA SSHD
>  Issue Type: Bug
>Reporter: Pavel Stetsuk
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> skip() doesn't work properly in SftpInputStreamAsync if executed before read 
> a data.
> In this case data read from the beginning and skip() is ignored



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

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



[jira] [Commented] (SSHD-1182) skip() doesn't work properly in SftpInputStreamAsync

2021-06-15 Thread Guillaume Nodet (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363423#comment-17363423
 ] 

Guillaume Nodet commented on SSHD-1182:
---

Could you write an additional unit test in SftpTest please ?

> skip() doesn't work properly in SftpInputStreamAsync
> 
>
> Key: SSHD-1182
> URL: https://issues.apache.org/jira/browse/SSHD-1182
> Project: MINA SSHD
>  Issue Type: Bug
>Reporter: Pavel Stetsuk
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> skip() doesn't work properly in SftpInputStreamAsync if executed before read 
> a data.
> In this case data read from the beginning and skip() is ignored



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

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