Skip to content
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 #1968

Merged
merged 1 commit into from
Dec 6, 2018

Commits on Dec 4, 2018

  1. http: add support selecting http version

    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>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    fcharlie authored and dscho committed Dec 4, 2018
    Configuration menu
    Copy the full SHA
    64ff4f9 View commit details
    Browse the repository at this point in the history