http: always warn if libcurl version is too old
commitf962ddf6edb199b2611d575a75f60d20d5c137c3
authorBrandon Williams <bmwill@google.com>
Wed, 14 Dec 2016 22:39:51 +0000 (14 14:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Dec 2016 17:28:37 +0000 (15 09:28 -0800)
tree81b5da0a0ff9d250afc9c26eef239a48e6cd0ff9
parent85e42053658cf6710b84974be0ef0acf459a80d9
http: always warn if libcurl version is too old

Always warn if libcurl version is too old because:

1. Even without a protocol whitelist, newer versions of curl have all
   non-standard protocols disabled by default.
2. A future patch will introduce default "known-good" and "known-bad"
   protocols which are allowed/disallowed by 'is_transport_allowed'
   which older version of libcurl can't respect.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c
transport.c
transport.h