]> granicus.if.org Git - php/commitdiff
reveal some newer libcurl features in MINFO
authorAnatol Belski <ab@php.net>
Fri, 3 Oct 2014 19:45:51 +0000 (21:45 +0200)
committerAnatol Belski <ab@php.net>
Fri, 3 Oct 2014 19:47:00 +0000 (21:47 +0200)
ext/curl/interface.c
ext/curl/tests/check_win_config.phpt

index d7cacf54f9fae16818ad3d7b0c066ef4b31c2771..6caaa5258b8bf050c6f000643373a5b98854df32 100644 (file)
@@ -556,6 +556,12 @@ PHP_MINFO_FUNCTION(curl)
 #endif
 #if LIBCURL_VERSION_NUM >= 0x071504 /* 7.21.4 */
                        {"TLS-SRP", CURL_VERSION_TLSAUTH_SRP},
+#endif
+#if LIBCURL_VERSION_NUM >= 0x072100 /* 7.33.0 */
+                       {"HTTP2", CURL_VERSION_HTTP2},
+#endif
+#if LIBCURL_VERSION_NUM >= 0x072600 /* 7.38.0 */
+                       {"GSSAPI", CURL_VERSION_GSSAPI},
 #endif
                        {NULL, 0}
                };
index d82fe6f41a78d21990916e505441a791fce65ba5..3d13638f90dd40ba770418cecdd064558000a37c 100644 (file)
@@ -40,6 +40,8 @@ SPNEGO => Yes
 SSL => Yes\r
 SSPI => Yes\r
 TLS-SRP => No\r
+HTTP2 => No\r
+GSSAPI => No\r
 Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp\r
 Host => %s-pc-win32\r
 SSL Version => OpenSSL/%s\r