1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-17 06:55:02 -05:00

TODO: c-ares and CURLOPT_OPENSOCKETFUNCTION

Removed DoH.

Closes #2734
This commit is contained in:
Daniel Stenberg 2018-09-20 23:56:20 +02:00
parent 2e5651a5ce
commit e968029b4d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -28,7 +28,7 @@
1.10 auto-detect proxy
1.11 minimize dependencies with dynamically loaded modules
1.12 updated DNS server while running
1.13 DNS-over-HTTPS
1.13 c-ares and CURLOPT_OPENSOCKETFUNCTION
1.14 Typesafe curl_easy_setopt()
1.15 Monitor connections in the connection pool
1.16 Try to URL encode given URL
@ -291,14 +291,15 @@
https://github.com/curl/curl/issues/2251
1.13 DNS-over-HTTPS
1.13 c-ares and CURLOPT_OPENSOCKETFUNCTION
By adding support for DNS-over-HTTPS curl could resolve host names using a
totally separate name server than the standard system resolver, while at the
same time doing so over a communication channel that enhances privacy and
security.
curl will create most sockets via the CURLOPT_OPENSOCKETFUNCTION callback and
close them with the CURLOPT_CLOSESOCKETFUNCTION callback. However, c-ares
does not use those functions and instead opens and closes the sockets
itself. This means that when curl passes the c-ares socket to the
CURLMOPT_SOCKETFUNCTION it isn't owned by the application like other sockets.
https://github.com/curl/curl/wiki/DNS-over-HTTPS
See https://github.com/curl/curl/issues/2734
1.14 Typesafe curl_easy_setopt()