ftp_do_more: consider DO_MORE complete when server connects back
authorDaniel Stenberg <daniel@haxx.se>
Fri, 19 Jul 2013 21:02:30 +0000 (23:02 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 19 Jul 2013 21:02:30 +0000 (23:02 +0200)
commite2e92486a740e9a5b984ae9ff8c74e9d50dd35d7
tree56160caefe5a5c8b6d2f387cfdf642201ecc2468
parent2e5b3168d69b6b0156508102f72d455f5b3b6636
ftp_do_more: consider DO_MORE complete when server connects back

In the case of an active connection when ftp_do_more() detects that the
server has connected back, it must make sure to mark it as complete so
that the multi_runsingle() function will detect this and move on to the
next state.

Bug: http://curl.haxx.se/mail/lib-2013-07/0115.html
Reported-by: Clemens Gruber
lib/ftp.c