#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    Apache mina time out


    Hi,
    I use apache mina sshd server for SFTP transfert.
    When a client to successfully to server,
    I can see in log:"Session created...", the client version and the succes authentification.

    But i have a problem when a client want connect to server and send no response.
    When the server send her identification data (after the "session created..." log info and before the client identification validation). If client no response (I suppose this), the server's session is closed just after 30 min and 30 sec.
    I would like to reduce this time out but I don't have find how to made this.
    I thought that timeoutAuth was the timeout for closed this session but apparently this is not the case.
    Anyone know how to reduce it.

    Think for your help
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2011
    Posts
    122
    Rep Power
    0

    Homework - Apache mina time out solutions:


    Hi Dear

    Please apply this:

    HttpSession. setMaxInactiveInterval(int seconds)

    Thanks
    Diya

IMN logo majestic logo threadwatch logo seochat tools logo