projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
3f4207e
)
add CURLOPT_DOH_URL
author
Michael Wallner
<mike@php.net>
Fri, 5 Mar 2021 16:18:39 +0000
(17:18 +0100)
committer
Michael Wallner
<mike@php.net>
Fri, 5 Mar 2021 16:18:39 +0000
(17:18 +0100)
src/php_http_client_curl.c
patch
|
blob
|
history
diff --git
a/src/php_http_client_curl.c
b/src/php_http_client_curl.c
index e1683ea47d191c858515e95b3f8ce71ce92df7d3..82c6226802cf028cd29dc49dfdcc8bf8b9ac6be4 100644
(file)
--- 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 */