Loading lib/multi.c +13 −8 Original line number Diff line number Diff line Loading @@ -331,6 +331,8 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) char *gotourl; Curl_posttransfer(easy->easy_handle); easy->result = Curl_done(easy->easy_conn); if(CURLE_OK == easy->result) { gotourl = strdup(easy->easy_handle->change.url); easy->easy_handle->change.url_changed = FALSE; easy->result = Curl_follow(easy->easy_handle, gotourl); Loading @@ -339,6 +341,7 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) else free(gotourl); } } easy->easy_handle->change.url_changed = FALSE; Loading Loading @@ -503,6 +506,8 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) if(easy->easy_conn->newurl) { char *newurl = easy->easy_conn->newurl; easy->easy_conn->newurl = NULL; easy->result = Curl_done(easy->easy_conn); if(easy->result == CURLE_OK) easy->result = Curl_follow(easy->easy_handle, newurl); if(CURLE_OK == easy->result) { easy->state = CURLM_STATE_CONNECT; Loading Loading
lib/multi.c +13 −8 Original line number Diff line number Diff line Loading @@ -331,6 +331,8 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) char *gotourl; Curl_posttransfer(easy->easy_handle); easy->result = Curl_done(easy->easy_conn); if(CURLE_OK == easy->result) { gotourl = strdup(easy->easy_handle->change.url); easy->easy_handle->change.url_changed = FALSE; easy->result = Curl_follow(easy->easy_handle, gotourl); Loading @@ -339,6 +341,7 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) else free(gotourl); } } easy->easy_handle->change.url_changed = FALSE; Loading Loading @@ -503,6 +506,8 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) if(easy->easy_conn->newurl) { char *newurl = easy->easy_conn->newurl; easy->easy_conn->newurl = NULL; easy->result = Curl_done(easy->easy_conn); if(easy->result == CURLE_OK) easy->result = Curl_follow(easy->easy_handle, newurl); if(CURLE_OK == easy->result) { easy->state = CURLM_STATE_CONNECT; Loading