summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-09-20 23:56:20 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-20 23:57:05 +0200
commite968029b4dd4af58d9021d2b719896c84fca2cba (patch)
tree40d64fdab8b6de2c9e3775322bb4af4c205aeea5 /docs
parent2e5651a5ce0ee18d610cacfaa2b3ec5073a40c34 (diff)
downloadcurl-e968029b4dd4af58d9021d2b719896c84fca2cba.tar.gz
TODO: c-ares and CURLOPT_OPENSOCKETFUNCTION
Removed DoH. Closes #2734
Diffstat (limited to 'docs')
-rw-r--r--docs/TODO15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/TODO b/docs/TODO
index 5f68f0bc0..3607f162d 100644
--- a/docs/TODO
+++ b/docs/TODO
@@ -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()