Re: [PATCH v7 1/1] http: add support selecting http version

2018-11-08 Thread Junio C Hamano
"Force Charlie via GitGitGadget" writes: > +http.version:: > + Use the specified HTTP protocol version when communicating with a > server. > + If you want to force the default. The available and default version > depend > + on libcurl. Actually the possible values of > + this op

[PATCH v7 1/1] http: add support selecting http version

2018-11-08 Thread Force Charlie via GitGitGadget
From: Force Charlie Usually we don't need to set libcurl to choose which version of the HTTP protocol to use to communicate with a server. But different versions of libcurl, the default value is not the same. CURL >= 7.62.0: CURL_HTTP_VERSION_2TLS CURL < 7.62: CURL_HTTP_VERSION_1_1 In order to