]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
TODO: native IDN support on macOS
authorDaniel Stenberg <daniel@haxx.se>
Fri, 8 May 2020 09:46:05 +0000 (11:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 8 May 2020 09:46:05 +0000 (11:46 +0200)
docs/TODO

index dfc36b8cf07eba52b62426f8b4872691e2bc158f..313d996929a964ddde1b733648f1a50a078ed666 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
@@ -22,6 +22,7 @@
  1.3 struct lifreq
  1.4 alt-svc sharing
  1.5 get rid of PATH_MAX
+ 1.6 native IDN support on macOS
  1.7 Support HTTP/2 for HTTP(S) proxies
  1.8 CURLOPT_RESOLVE for any port number
  1.9 Cache negative name resolves
  there we need libssh2 to properly tell us when we pass in a too small buffer
  and its current API (as of libssh2 1.2.7) doesn't.
 
+1.6 native IDN support on macOS
+
+ On recent macOS versions, the getaddrinfo() function itself has built-in IDN
+ support. By setting the AI_CANONNAME flag, the function will return the
+ encoded namne in the ai_canonname struct field in the returned information.
+ This could be used by curl on macOS when built without a separate IDN library
+ and an IDN host name is used in a URL.
+
 1.7 Support HTTP/2 for HTTP(S) proxies
 
  Support for doing HTTP/2 to HTTP and HTTPS proxies is still missing.