Currently the uftpd RETR, and STOR, support is "in line" in the RETR callback. This prevents a client from sending ABOR (stop/pause transfer) and can lock up uftpd while the kernel times out the PASV socket.
Both RETR and STOR need to be handled in the backgroud or as separate event callbacks that can be stopped using ABOR at any time by the connected client.
This issue is instrumental to getting the VLC Android app. mentioned in issue #9 to work.
Currently the uftpd RETR, and STOR, support is "in line" in the RETR callback. This prevents a client from sending ABOR (stop/pause transfer) and can lock up uftpd while the kernel times out the PASV socket.
Both RETR and STOR need to be handled in the backgroud or as separate event callbacks that can be stopped using ABOR at any time by the connected client.
This issue is instrumental to getting the VLC Android app. mentioned in issue #9 to work.