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 b790f89..239cecb 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()