mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Fangning (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SSHD-715) The IDLE_TIMEOUT configuration parameter is invalid
Date Thu, 17 Nov 2016 12:30:58 GMT

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

Li Fangning updated SSHD-715:
-----------------------------
    Description: 
The DEFAULT_IDLE_TIMEOUT value is set to 10 minutes.

I want to configure it to never time out with the following code:
PropertyResolverUtils.updateProperty(sshd, FactoryManager.IDLE_TIMEOUT, Long.MAX_VALUE);
But the connection still times out after 10 minutes and 15 seconds.

The problem can be circumvented by the following code:
PropertyResolverUtils.updateProperty(sshd, FactoryManager.NIO2_READ_TIMEOUT, Long.MAX_VALUE);

V1.2 does not have this problem.
(The NIO2_READ_TIMEOUT parameter is new in version 1.3)

The SSH client has the same problem.

  was:
The DEFAULT_IDLE_TIMEOUT value is set to 10 minutes.

I want to configure it to never time out with the following code:
PropertyResolverUtils.updateProperty(sshd, FactoryManager.IDLE_TIMEOUT, Long.MAX_VALUE);
But the connection still times out after 10 minutes and 15 seconds.

The problem can be circumvented by the following code:
PropertyResolverUtils.updateProperty(sshd, FactoryManager.NIO2_READ_TIMEOUT, Long.MAX_VALUE);

V1.2 does not have this problem.
(The NIO2_READ_TIMEOUT parameter is new in version 1.3)


> The IDLE_TIMEOUT configuration parameter is invalid
> ---------------------------------------------------
>
>                 Key: SSHD-715
>                 URL: https://issues.apache.org/jira/browse/SSHD-715
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Li Fangning
>            Priority: Minor
>
> The DEFAULT_IDLE_TIMEOUT value is set to 10 minutes.
> I want to configure it to never time out with the following code:
> PropertyResolverUtils.updateProperty(sshd, FactoryManager.IDLE_TIMEOUT, Long.MAX_VALUE);
> But the connection still times out after 10 minutes and 15 seconds.
> The problem can be circumvented by the following code:
> PropertyResolverUtils.updateProperty(sshd, FactoryManager.NIO2_READ_TIMEOUT, Long.MAX_VALUE);
> V1.2 does not have this problem.
> (The NIO2_READ_TIMEOUT parameter is new in version 1.3)
> The SSH client has the same problem.



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

Mime
View raw message