mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 14:35:03 -05:00
retry: return error if rewind was necessary but didn't happen
Fixes #2801 Closes #2812
This commit is contained in:
parent
c3b297466d
commit
d6cf93011d
@ -1949,6 +1949,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
||||
CURLcode ret = Curl_retry_request(data->easy_conn, &newurl);
|
||||
if(!ret)
|
||||
retry = (newurl)?TRUE:FALSE;
|
||||
else if(!result)
|
||||
result = ret;
|
||||
|
||||
if(retry) {
|
||||
/* if we are to retry, set the result to OK and consider the
|
||||
|
Loading…
Reference in New Issue
Block a user