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

Passive Data connections are slow when using SSL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 1.0.2
    • 1.1.2
    • Core
    • None

    Description

      Creation of passive data sockets is slow when using SSL. The issue is that the code calls InetAddress.getHostName() method which performs a reverse name lookup. This is an expensive operation (at least on all the systems I've tried). We really don't have a need to get the host name, so change the code to get string version of the IP address and use it instead. More information on this issue is available at http://www.mail-archive.com/dev@mina.apache.org/msg13644.html.

      Attachments

        1. IODataConnectionFactory.java.patch
          0.6 kB
          David Latorre

        Activity

          People

            dlatorre David Latorre
            psai Sai Pullabhotla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: