Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ext/curl/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,10 @@ PHP_MINIT_FUNCTION(curl)
REGISTER_CURL_CONSTANT(CURL_VERSION_ALTSVC);
#endif

#if LIBCURL_VERSION_NUM >= 0x074200 /* Available since 7.66.0 */
REGISTER_CURL_CONSTANT(CURL_HTTP_VERSION_3);
#endif

#if LIBCURL_VERSION_NUM >= 0x074700 /* Available since 7.71.0 */
REGISTER_CURL_CONSTANT(CURLOPT_ISSUERCERT_BLOB);
REGISTER_CURL_CONSTANT(CURLOPT_PROXY_ISSUERCERT);
Expand All @@ -1169,6 +1173,10 @@ PHP_MINIT_FUNCTION(curl)
REGISTER_CURL_CONSTANT(CURLOPT_SSLKEY_BLOB);
#endif

#if LIBCURL_VERSION_NUM >= 0x075800 /* Available since 7.88.0 */
REGISTER_CURL_CONSTANT(CURL_HTTP_VERSION_3ONLY);
#endif

REGISTER_CURL_CONSTANT(CURLOPT_SAFE_UPLOAD);

#ifdef PHP_CURL_NEED_OPENSSL_TSL
Expand Down