You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2019/12/05 17:46:00 UTC
[jira] [Resolved] (SSHD-956) Change the authTimeout and idleTimeout
from System clock based to Hardware clock based
[ https://issues.apache.org/jira/browse/SSHD-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lyor Goldstein resolved SSHD-956.
---------------------------------
Fix Version/s: 2.3.1
Resolution: Fixed
> Change the authTimeout and idleTimeout from System clock based to Hardware clock based
> --------------------------------------------------------------------------------------
>
> Key: SSHD-956
> URL: https://issues.apache.org/jira/browse/SSHD-956
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 2.1.0, 2.3.0
> Reporter: Chetan Narsude
> Assignee: Lyor Goldstein
> Priority: Minor
> Fix For: 2.3.1
>
>
> {{Because the timeout calculations are done based on System.currentTimeInMillis(), they are susceptible to change in the system clock and randomly fire when the system time is changed.}}
>
> {{If these timeouts are based on the hardware clock (System.nanoTime()), they will be shielded from ad hoc changes to the system time.}}
--
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