Grégoire Barbier <gb@xxxxxxxxxxxx> writes: > Ok, please forget my patch and forgive my stupidity, I've juste > realized why I needed to define -DUSE_CURL_MULTI by hand in the > Makefile, I'm so stupid... No, it is not your stupidity. The http.h and http-*.c files assume that USE_CURL_MULTI is internal and do not want the user to define that symbol from outside. It should be better documented and mistakes should be prevented. Perhaps we need something like like this. diff --git a/http.h b/http.h index aeba930..046b17f 100644 --- a/http.h +++ b/http.h @@ -8,6 +8,12 @@ #include "strbuf.h" +/* + * We detect based on the cURL version if multi-transfer is + * usable in this implementation and define this symbol accordingly. + */ +#undef USE_CURL_MULTI + #if LIBCURL_VERSION_NUM >= 0x071000 #define USE_CURL_MULTI #define DEFAULT_MAX_REQUESTS 5 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html