Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-258

User's maxIdleTime doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-M4
    • 1.0.0-RC1
    • Core
    • None

    Description

      Setting user's maxidletime property has no effect, only working idle time is the one provided by NioListener which is global.

      The user's maxidletime is stored into ftp session as an attribute during PASS command, but nothing else happens. Idle event is completely handled by Mina and Mina has no knowledge about ftpserver's value. Mina takes the idle time from IoSessionConfig which is instantiated during NioListener construction (more precisely - during NioListener's SocketAcceptor construction). Each created session has its own copy of the config. That's my understanding and I hope it's right.

      Attachments

        1. FtpIoSession.patch
          1 kB
          Jiri Kuhn
        2. idletime.patch
          3 kB
          Jiri Kuhn

        Activity

          People

            niklas Niklas Therning
            kuhn Jiri Kuhn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: