mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Dan Winship's fix to make the new auth stuff such as NTLM to work with
the multi interface
This commit is contained in:
parent
58b6b3df06
commit
938f1d1da7
@ -440,8 +440,9 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
|
|||||||
|
|
||||||
/* When we follow redirects, must to go back to the CONNECT state */
|
/* When we follow redirects, must to go back to the CONNECT state */
|
||||||
if(easy->easy_conn->newurl) {
|
if(easy->easy_conn->newurl) {
|
||||||
easy->result = Curl_follow(easy->easy_handle,
|
char *newurl = easy->easy_conn->newurl;
|
||||||
strdup(easy->easy_conn->newurl));
|
easy->easy_conn->newurl = NULL;
|
||||||
|
easy->result = Curl_follow(easy->easy_handle, 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;
|
result = CURLM_CALL_MULTI_PERFORM;
|
||||||
|
Loading…
Reference in New Issue
Block a user