initial suport for "httpversion" arguments of 2.0, 2TLS, 2_PRIOR_KNOWLEDGE

This commit is contained in:
Jeff Lawson
2016-07-20 07:52:28 +00:00
parent ab766d6bca
commit 04ac7e01d3
3 changed files with 28 additions and 1 deletions

View File

@ -294,7 +294,13 @@ CONST static char *curlFormTable[]={
};
CONST static char *httpVersionTable[] = {
"none", "1.0", "1.1", (char *)NULL
"none", /* CURL_HTTP_VERSION_NONE */
"1.0", /* CURL_HTTP_VERSION_1_0 */
"1.1", /* CURL_HTTP_VERSION_1_1 */
"2.0", /* CURL_HTTP_VERSION_2_0 */
"2TLS", /* CURL_HTTP_VERSION_2TLS */
"2_PRIOR_KNOWLEDGE", /* CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE */
(char *)NULL
};
CONST static char *netrcTable[] = {