mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Narsude (Jira)" <j...@apache.org>
Subject [jira] [Created] (SSHD-956) Change the authTimeout and idleTimeout from System clock based to Hardware clock based
Date Mon, 25 Nov 2019 23:52:00 GMT
Chetan Narsude created SSHD-956:
-----------------------------------

             Summary: 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: Bug
    Affects Versions: 2.1.0
            Reporter: Chetan Narsude


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


Mime
View raw message