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

Cache SSLContext and SSLSocketFacotry for each SSLConfiguration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.2
    • 1.1.0
    • Core
    • None

    Description

      FTPS performance could be better if we cache the SSLContext and SSLSocketFactory for each SslConfiguration. Current code creates SSLContext everytime a SSL connection has to be created, initializes the SSLContext using the TrustManagers and KeyManagers and then creates the SSLSocketFactory. Cache the SSLSocketFactory instead and reuse it when needed. For more information please see this thread on the developers' mailing list http://www.mail-archive.com/dev@mina.apache.org/msg13644.html.

      Attachments

        Activity

          People

            Unassigned Unassigned
            psai Sai Pullabhotla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: