Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-715

The IDLE_TIMEOUT configuration parameter is invalid

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              lgoldstein Lyor Goldstein
              Reporter:
              lfn Li Fangning
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: