Description
We observed a long (about 1 minute) plateau of 100% CPU when trying to setPorts() in org.apache.ftpserver.DefaultDataConnectionConfiguration$Passive with "wide" port ranges such as 2122-65535.
We observed that FTPServer internally performs an apparently very expensive scan on this range.
Can this be made less CPU intensive and quicker (to shorten server downtime and reduce resource consumption in production)?