ftp: reconnect on tcp read error
authorLukasz Marek <lukasz.m.luki@gmail.com>
Sat, 1 Jun 2013 23:41:03 +0000 (01:41 +0200)
committerLukasz Marek <lukasz.m.luki@gmail.com>
Sat, 8 Jun 2013 01:54:55 +0000 (03:54 +0200)
commit23a76b71deead18fb75fc1f5af7281940778afb5
tree91df494c3181f9a51dbe07d32aefe9d17c905604
parent56abad0ee4a34789f8bc00ba236c7f6be982ce26
ftp: reconnect on tcp read error

This commit reconnect both connections and retries before ftp_read returns an error.
Practical use case: resume after lock screen on iOS devices.

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
libavformat/ftp.c