Ticket #3670: ftp: reconnect if server terminated connection.
commit81d57da867b10bb70285c3cd68fe3b67aeede407
authorAndrew Borodin <aborodin@vmail.ru>
Sat, 14 May 2022 08:52:10 +0000 (14 11:52 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 22 May 2022 08:33:24 +0000 (22 11:33 +0300)
treeb8a5cfde07b5ed458fbd44fa1b4ff73193f6ff5e
parentaba810208831f5432c7a10fb22d6a4fda815ea96
Ticket #3670: ftp: reconnect if server terminated connection.

(ftpfs_init_data_socket): handle return value of
getpeername()/getsockname() and try to reconnect to FTP server
for 10 attempts in case of error.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/vfs/ftpfs/ftpfs.c