[PATCH v8 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

[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

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

2018-11-07 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

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

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/http.c b/http.c index 3dc8c560d6..d6f3c4ee80 100644 --- a/http.c +++ b/http.c @@ -48,6 +48,7 @@ char curl_errorstr[CURL_ERROR_SIZE]; static

[PATCH v4 2/4] support force use http 1.1

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/http.c b/http.c index 99cb04faba..b2ec31aef5 100644 --- a/http.c +++ b/http.c @@ -48,7 +48,7 @@ char curl_errorstr[CURL_ERROR_SIZE]; static int curl

[PATCH v4 3/4] fix curl version to support CURL_HTTP_VERSION_2TLS

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http.c b/http.c index b2ec31aef5..86e454cff5 100644 --- a/http.c +++ b/http.c @@ -811,10 +811,10 @@ static CURL *get_curl_handle(void) curl_easy_se

[PATCH v4 1/4] http: add support selecting http version

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 12 1 file changed, 12 insertions(+) diff --git a/http.c b/http.c index 3dc8c560d6..99cb04faba 100644 --- a/http.c +++ b/http.c @@ -48,6 +48,7 @@ char curl_errorstr[CURL_ERROR_SIZE]; static int curl_ssl_verify = -1;

[PATCH v4 4/4] http: change http.version value type

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 41 - 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/http.c b/http.c index 86e454cff5..d6f3c4ee80 100644 --- a/http.c +++ b/http.c @@ -48,7 +48,7 @@ char curl_errorstr[CURL_ERRO

[PATCH v3 4/4] http: change http.version value type

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 39 ++- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/http.c b/http.c index 86e454cff5..0ad797caea 100644 --- a/http.c +++ b/http.c @@ -48,7 +48,7 @@ char curl_errorstr[CURL_ERROR_

[PATCH v3 1/4] http: add support selecting http version

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 12 1 file changed, 12 insertions(+) diff --git a/http.c b/http.c index 3dc8c560d6..99cb04faba 100644 --- a/http.c +++ b/http.c @@ -48,6 +48,7 @@ char curl_errorstr[CURL_ERROR_SIZE]; static int curl_ssl_verify = -1;

[PATCH v3 2/4] support force use http 1.1

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/http.c b/http.c index 99cb04faba..b2ec31aef5 100644 --- a/http.c +++ b/http.c @@ -48,7 +48,7 @@ char curl_errorstr[CURL_ERROR_SIZE]; static int curl

[PATCH v3 3/4] fix curl version to support CURL_HTTP_VERSION_2TLS

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http.c b/http.c index b2ec31aef5..86e454cff5 100644 --- a/http.c +++ b/http.c @@ -811,10 +811,10 @@ static CURL *get_curl_handle(void) curl_easy_se

[PATCH v2 3/3] fix curl version to support CURL_HTTP_VERSION_2TLS

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http.c b/http.c index b2ec31aef5..86e454cff5 100644 --- a/http.c +++ b/http.c @@ -811,10 +811,10 @@ static CURL *get_curl_handle(void) curl_easy_se

[PATCH v2 1/3] http: add support selecting http version

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 12 1 file changed, 12 insertions(+) diff --git a/http.c b/http.c index 3dc8c560d6..99cb04faba 100644 --- a/http.c +++ b/http.c @@ -48,6 +48,7 @@ char curl_errorstr[CURL_ERROR_SIZE]; static int curl_ssl_verify = -1;

[PATCH v2 2/3] support force use http 1.1

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/http.c b/http.c index 99cb04faba..b2ec31aef5 100644 --- a/http.c +++ b/http.c @@ -48,7 +48,7 @@ char curl_errorstr[CURL_ERROR_SIZE]; static int curl

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

2018-11-07 Thread Force Charlie via GitGitGadget
From: Force Charlie Signed-off-by: Force Charlie --- http.c | 12 1 file changed, 12 insertions(+) diff --git a/http.c b/http.c index 3dc8c560d6..99cb04faba 100644 --- a/http.c +++ b/http.c @@ -48,6 +48,7 @@ char curl_errorstr[CURL_ERROR_SIZE]; static int curl_ssl_verify = -1;