aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-18 15:27:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-18 15:27:49 +0000
commit203633d34d31ffd2a10ac8ed7a81daed4de31f7a (patch)
tree0fd0947a02ae08dfb7ddc5ed634072afe35548fa
parent45bd009bb19b7c0aee253995f54c8b54abb48265 (diff)
return call_multi when we follow a location
-rw-r--r--lib/multi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index c9861c24a..98700742d 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -430,8 +430,10 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
if(easy->easy_conn->newurl) {
easy->result = Curl_follow(easy->easy_handle,
strdup(easy->easy_conn->newurl));
- if(CURLE_OK == easy->result)
+ if(CURLE_OK == easy->result) {
easy->state = CURLM_STATE_CONNECT;
+ result = CURLM_CALL_MULTI_PERFORM;
+ }
}
else {
easy->state = CURLM_STATE_DONE;