]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http.c
http: warn on curl_multi_add_handle failures
[thirdparty/git.git] / http.c
diff --git a/http.c b/http.c
index c29ce81ccc0432a80ac5d228d975f246ca47f4b4..d20e9c108b80e7e7165a547b75734b23115f1385 100644 (file)
--- a/http.c
+++ b/http.c
@@ -709,6 +709,8 @@ int start_active_slot(struct active_request_slot *slot)
 
        if (curlm_result != CURLM_OK &&
            curlm_result != CURLM_CALL_MULTI_PERFORM) {
+               warning("curl_multi_add_handle failed: %s",
+                       curl_multi_strerror(curlm_result));
                active_requests--;
                slot->in_use = 0;
                return 0;