mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 15:50:48 -04:00
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
This commit is contained in:
parent
2e5b3168d6
commit
e2e92486a7
@ -3748,6 +3748,9 @@ static CURLcode ftp_do_more(struct connectdata *conn, bool *complete)
|
|||||||
|
|
||||||
if(result)
|
if(result)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
|
*complete = TRUE; /* this state is now complete when the server has
|
||||||
|
connected back to us */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(data->set.upload) {
|
else if(data->set.upload) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user