mirror of
https://github.com/curl/curl.git
synced 2026-05-30 14:57:32 +03: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue