My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e465796
)
http: warn on curl_multi_add_handle failures
author
Eric Wong
<e@80x24.org>
Tue, 13 Sep 2016 00:25:55 +0000
(
00:25
+0000)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 13 Sep 2016 20:34:01 +0000
(13:34 -0700)
This will be useful for tracking down curl usage errors.
Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index
c29ce81
..
d20e9c1
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;