mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
return call_multi when we follow a location
This commit is contained in:
parent
45bd009bb1
commit
203633d34d
@ -430,8 +430,10 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
|
|||||||
if(easy->easy_conn->newurl) {
|
if(easy->easy_conn->newurl) {
|
||||||
easy->result = Curl_follow(easy->easy_handle,
|
easy->result = Curl_follow(easy->easy_handle,
|
||||||
strdup(easy->easy_conn->newurl));
|
strdup(easy->easy_conn->newurl));
|
||||||
if(CURLE_OK == easy->result)
|
if(CURLE_OK == easy->result) {
|
||||||
easy->state = CURLM_STATE_CONNECT;
|
easy->state = CURLM_STATE_CONNECT;
|
||||||
|
result = CURLM_CALL_MULTI_PERFORM;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
easy->state = CURLM_STATE_DONE;
|
easy->state = CURLM_STATE_DONE;
|
||||||
|
Loading…
Reference in New Issue
Block a user