LithiumX
LithiumX copied to clipboard
FTP should allow more connections
Currently limited to 2 which means single transfers. With large small file transfers this makes things quite slow.
Changed this to 5 and it just worked(tm), higher it likes to stall connections. Any reason you have it so low? https://github.com/Ryzee119/LithiumX/blob/master/src/lib/ftpd/ftp.h#L38
Edit: Nvm :P Weird stuff happening after ~6k files.
You need to increase MEMP_NUM_NETBUF, MEMP_NUM_NETCONN variables I believe to match the max number of clients.
-DMEMP_NUM_NETBUF=6, -DMEMP_NUM_NETCONN=6 in CFLAGS for example, but it does still get confused sometimes. Not really sure why yet.