You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "David Latorre (JIRA)" <ji...@apache.org> on 2013/09/24 11:02:04 UTC

[jira] [Reopened] (FTPSERVER-320) Passive Data connections are slow when using SSL

     [ https://issues.apache.org/jira/browse/FTPSERVER-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Latorre reopened FTPSERVER-320:
-------------------------------------

      Assignee: David Latorre

I think it makes sense that we get rid of the reverse DNS lookup in the stable/1.0.x branch.  

All the other improvements by Sai are available in trunk.
                
> Passive Data connections are slow when using SSL
> ------------------------------------------------
>
>                 Key: FTPSERVER-320
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-320
>             Project: FtpServer
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.2
>            Reporter: Sai Pullabhotla
>            Assignee: David Latorre
>             Fix For: 1.1.0
>
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira