X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_http_client_curl.c;h=82c6226802cf028cd29dc49dfdcc8bf8b9ac6be4;hb=092ee9822b5497662242dd6f513726881214145e;hp=e1683ea47d191c858515e95b3f8ce71ce92df7d3;hpb=3f4207e32a04239194edbf39da40f5dcc37634f0;p=m6w6%2Fext-http 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 */