You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Paweł Skierczyński (JIRA)" <ji...@apache.org> on 2014/10/29 14:03:33 UTC

[jira] [Updated] (SSHD-368) When ssh server is slow in respond or some packages lost client in proxy has no timeout and may hang forever

     [ https://issues.apache.org/jira/browse/SSHD-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paweł Skierczyński updated SSHD-368:
------------------------------------
    Attachment: SSHD-368.patch

It moves feature from server to common and adjust client so it can use it.
It also adds some status so it can be read later to figure out what happened.
Tests are green though I didn't write any new one.

> When ssh server is slow in respond or some packages lost client in proxy has no timeout and may hang forever
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SSHD-368
>                 URL: https://issues.apache.org/jira/browse/SSHD-368
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Paweł Skierczyński
>         Attachments: SSHD-368.patch
>
>
> I've found that client can globally timeout with global timeout. What I need is to client timeout if there is no communication for some time. If response lasts 1 hour but some bytes are coming now and then it's perfectly alright.
> My use case here is git checkout that can take a while with big git repository.
> I've found similar feature is already implemented for server but not for client.
> It may be that there is some socket configuration that will just do that, but I couldn't find it...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)