]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl.h: add CURL_VERSION_HTTP2 as a feature
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Sep 2013 21:11:07 +0000 (23:11 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 4 Sep 2013 20:29:38 +0000 (22:29 +0200)
It isn't added as a separate protocol as HTTP2 will be done over HTTP://
URLs that can be upgraded to HTTP2 if the server supports it as well.

include/curl/curl.h

index b790f89cc1bb31d4b98768b21ca61c4ed482968c..239cecbf5e8dce9fad898b67550b043344f4a34c 100644 (file)
@@ -2172,6 +2172,7 @@ typedef struct {
 #define CURL_VERSION_CURLDEBUG (1<<13) /* debug memory tracking supported */
 #define CURL_VERSION_TLSAUTH_SRP (1<<14) /* TLS-SRP auth is supported */
 #define CURL_VERSION_NTLM_WB   (1<<15) /* NTLM delegating to winbind helper */
+#define CURL_VERSION_HTTP2     (1<<16) /* HTTP2 support built-in */
 
  /*
  * NAME curl_version_info()