New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http: add support selecting http version #69
Conversation
8b0bead
to
4f5a935
Compare
/submit |
An error occurred while submitting: Error: Permission denied for user fcharlie |
/submit |
An error occurred while submitting: Error: Permission denied for user fcharlie |
/allow fcharlie |
User fcharlie is now allowed to use GitGitGadget. |
@fcharlie could you try again, please? |
/submit |
@dscho thanks |
Submitted as pull.69.git.gitgitgadget@gmail.com |
/submit |
Submitted as pull.69.v2.git.gitgitgadget@gmail.com |
/submit |
Submitted as pull.69.v3.git.gitgitgadget@gmail.com |
/submit |
Submitted as pull.69.v4.git.gitgitgadget@gmail.com |
/submit |
Submitted as pull.69.v5.git.gitgitgadget@gmail.com |
bc52d2a
to
93fda67
Compare
/submit |
Submitted as pull.69.v6.git.gitgitgadget@gmail.com |
/submit |
Submitted as pull.69.v7.git.gitgitgadget@gmail.com |
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 give users the freedom to control the HTTP version, we need to add a setting to choose which HTTP version to use. Signed-off-by: Force Charlie <charlieio@outlook.com>
/submit |
Submitted as pull.69.v8.git.gitgitgadget@gmail.com |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This branch is now known as |
This patch series was integrated into pu via git@5869094. |
This patch series was integrated into next via git@42f5155. |
This comment has been minimized.
This comment has been minimized.
This patch series was integrated into pu via git@4c45cd9. |
This comment has been minimized.
This comment has been minimized.
This patch series was integrated into pu via git@b4908f9. |
This patch series was integrated into next via git@56bcbb0. |
This patch series was integrated into pu via git@13d9919. |
This patch series was integrated into next via git@13d9919. |
This patch series was integrated into master via git@13d9919. |
Closed via 13d9919. |
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 give users the freedom to control the HTTP version,
we need to add a setting to choose which HTTP version to use.
This patch support force enable HTTP/2 or HTTP/1.1.
example: