aboutsummaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-01-21 17:34:43 -0800
committerJunio C Hamano <gitster@pobox.com>2008-01-22 00:48:29 -0800
commit4f5f998fbd64c997ea875d69fd86b6362e04ce9b (patch)
tree414b97e7e377b51dca017b19eaecfe0ac5f2dd9d /http.h
parent6fc74703dee571859d8be270f5496f4c9b2ff9c7 (diff)
downloadgit-4f5f998fbd64c997ea875d69fd86b6362e04ce9b.tar.gz
git-4f5f998fbd64c997ea875d69fd86b6362e04ce9b.tar.xz
Clarify that http-push being temporarily disabled with older cURL
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
-rw-r--r--http.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/http.h b/http.h
index aeba9301f..9bab2c882 100644
--- a/http.h
+++ b/http.h
@@ -8,6 +8,14 @@
#include "strbuf.h"
+/*
+ * We detect based on the cURL version if multi-transfer is
+ * usable in this implementation and define this symbol accordingly.
+ * This is not something Makefile should set nor users should pass
+ * via CFLAGS.
+ */
+#undef USE_CURL_MULTI
+
#if LIBCURL_VERSION_NUM >= 0x071000
#define USE_CURL_MULTI
#define DEFAULT_MAX_REQUESTS 5