]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
TODO: remove "hardcode the "localhost" addresses"
authorDaniel Stenberg <daniel@haxx.se>
Fri, 25 Feb 2022 10:33:29 +0000 (11:33 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 25 Feb 2022 10:33:53 +0000 (11:33 +0100)
This is implmented since 1a0ebf6632f88

docs/TODO

index 9df82115495fc50b2d072fbf3d930c9ca180c35c..dd1a721035dad5724a6d445eb072a38f3876400a 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
@@ -40,7 +40,6 @@
  1.22 CURLINFO_PAUSE_STATE
  1.23 Offer API to flush the connection pool
  1.25 Expose tried IP addresses that failed
- 1.27 hardcode the "localhost" addresses
  1.28 FD_CLOEXEC
  1.29 Upgrade to websockets
  1.30 config file parsing
 
  https://github.com/curl/curl/issues/2126
 
-1.27 hardcode the "localhost" addresses
-
- There's this new spec getting adopted that says "localhost" should always and
- unconditionally be a local address and not get resolved by a DNS server. A
- fine way for curl to fix this would be to simply hard-code the response to
- 127.0.0.1 and/or ::1 (depending on what IP versions that are requested). This
- is what the browsers probably will do with this hostname.
-
- https://bugzilla.mozilla.org/show_bug.cgi?id=1220810
-
- https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-let-localhost-be-localhost-02
-
 1.28 FD_CLOEXEC
 
  It sets the close-on-exec flag for the file descriptor, which causes the file