Code

Work around http-fetch built with cURL 7.16.0
authorJunio C Hamano <junkio@cox.net>
Wed, 27 Dec 2006 21:59:26 +0000 (13:59 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 28 Dec 2006 00:44:30 +0000 (16:44 -0800)
commit500ebb0196e3b14183171b8c492b3f5f9fa0bf02
tree9506619d04600e51e65693a3f4a3bbe3f6c7cbe6
parent7c20b8234af2962ea4d5ce930ec0308c33f6f654
Work around http-fetch built with cURL 7.16.0

It appears that curl_easy_duphandle() from libcurl 7.16.0
returns a curl session handle which fails GOOD_MULTI_HANDLE()
check in curl_multi_add_handle().  This causes fetch_ref() to
fail because start_active_slot() cannot start the request.

For now, check for 7.16.0 to work this issue around.

Signed-off-by: Junio C Hamano <junkio@cox.net>
http.h