From: Michael Wallner Date: Fri, 5 Mar 2021 16:18:39 +0000 (+0100) Subject: add CURLOPT_DOH_URL X-Git-Tag: v4.1.0~16 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=092ee9822b5497662242dd6f513726881214145e;p=m6w6%2Fext-http add CURLOPT_DOH_URL --- diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c index e1683ea..82c6226 100644 --- a/src/php_http_client_curl.c +++ b/src/php_http_client_curl.c @@ -1269,6 +1269,9 @@ static void php_http_curle_options_init(php_http_options_t *registry) #if PHP_HTTP_CURL_VERSION(7,60,0) php_http_option_register(registry, ZEND_STRL("dns_shuffle_addresses"), CURLOPT_DNS_SHUFFLE_ADDRESSES, _IS_BOOL); #endif +#if PHP_HTTP_CURL_VERSION(7,62,0) + php_http_option_register(registry, ZEND_STRL("doh_url"), CURLOPT_DOH_URL, IS_STRING); +#endif /* limits */