If I successful compile wired server 2.5.2 on a updated Debian/Ubuntu the server crashes if it comes to file transfer (End of File).
If I compile 2.5.2. in your Docker Container (where you have 2.5.1 running) and export these Binary to the Hostsystem the filetransfer is fine. It seems there is a Problem with the latest dev-libs or something else?