[
https://issues.apache.org/jira/browse/SSHD-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267735#comment-14267735
]
Maros Marsalek commented on SSHD-393:
-------------------------------------
2 tests added:
https://github.com/apache/mina-sshd/pull/10/commits
please review.
One note: When I was running tests on my laptop, 4 tests kept failing (with and
without my fix):
Failed tests:
WindowTest.testWindowConsumptionWithAsyncStreams:266 client local and server
remote. Actual: 1024
WindowTest.testWindowConsumptionWithInvertedStreams:174 client local and
server remote. Actual: 1024
WindowTest.testWindowConsumptionWithDirectStreams:224 client local and server
remote expected:<705> but was:<694>
ServerTest.testServerIdleTimeoutWithForce:244 null
Looks like the timeouts in these tests are not enough (or possibly too high).
> Ssh server freezing when under heavy load
> -----------------------------------------
>
> Key: SSHD-393
> URL: https://issues.apache.org/jira/browse/SSHD-393
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.12.0, 0.13.0
> Reporter: Maros Marsalek
>
> When using the Ssh server and writing big amounts of data towards the client,
> server can freeze waiting for window adjust msg.
> It always happens after server gets into state of delaying write while
> waiting for window adjust. After the window adjust is received, write is not
> resumed. There is no mechanism to resume the write for server side, but on
> the client side there is.
> We have a junit test case that reproduces this issue. We were able to fix it
> with this patch:
> https://github.com/apache/mina-sshd/pull/10
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)