diff options
author | Eric Wong <e@80x24.org> | 2016-09-13 00:25:55 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-13 13:34:01 -0700 |
commit | 9f1b58842a44e8f0dc8fb4a447449cb31957b4bf (patch) | |
tree | 041e9b140a7892600385ec5ce234ba7e6d869f8d /http.c | |
parent | e46579643d56162299b1756b70d418005351b256 (diff) | |
download | git-9f1b58842a44e8f0dc8fb4a447449cb31957b4bf.tar.gz |
http: warn on curl_multi_add_handle failures
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>
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |