Increase number of retries (it's only 3) at FZS when using PASV and Port range
|Reported by:||JLM||Owned by:|
|Component version:||Operating system type:||Windows|
|Operating system version:||2003|
Please, can you make this tiny change?
In the ControlSocket.cpp file change
unsigned int retries = 3;
unsigned int retries = 10;
or any other value (please, at least 5).
I have a FZS that sometimes fails when using PASV and a given range of ports, because in that case the server does not use a free port given by the OS, but tries to create a socket in a free port of that range, and if it is not free it tries with the next one up to 3 times before failing with the answer: '421 Could not create socket'.
The solution can be just to increase a little the number of attempts to find a free port where to create the socket for the data connection (the aforementioned unsigned int retries = 3;).
Thank you in advance.