"Too many connections" wrongly marked "Failed Transfer"
|Reported by:||jumpfroggy||Owned by:|
|Keywords:||Cc:||jumpfroggy, Tim Kosse|
|Component version:||Operating system type:|
|Operating system version:|
I set my "Maximum simultaneous transfers" to 8, the max my server can handle. However, for some reason a connection or two has been opened and not closed by Filezilla (probably another bug).
At this point there are 6 existing hung connections, leaving me with 2 that should transfer. However, when I try to transfer a queue of files, two slots are used correctly, and any other files that try to use the other 6 connections get "421 Too many connections (8) from this IP", and are marked as "Failed Transfers". However, this is incorrect; they are not failed, there are simply not enough connections to transfer the files concurrently.
This is the same situation if I then transfer files to another server that only handles 4 simultaneous connections. That means that any files using the 4 connections will succeed, but any that are *attempted* using the other 4 connections will be marked as "Failed Transfer", instead of simply waiting in the queue longer. This means I have to set the "Maximum simultaneous transfers" manually for *every* server I use, and then I have to keep an eye on the Failed Transfers log for any wrongly marked failures.
Ideally, when filezilla gets the "421: too many connections" error while transferring more than one file at a time, it would simply keep that file on the queue and wait for the next available connection. This way a given max connections can be specified (say, 6) and if a server doesn't support that many the situation will be handled gracefully (all files will transfer, the max supported connections will be used) instead of how it is now (some files transfer, some don't).
I have a verbose debug log available, if needed. Thanks!