]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
TODO: Retry SOCKS handshake
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2025 11:51:27 +0000 (13:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2025 14:34:28 +0000 (16:34 +0200)
Closes #17222
Closes #17326

docs/TODO

index 09ad092e9d03598c20c9eaec2f27be3df8d5493e..9e398d82832e4bd50273c2a8fa9e9b8d670de737 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
  13.16 Share the CA cache
  13.17 Add missing features to TLS backends
 
+ 14. Proxy
+ 14.1 Retry SOCKS handshake on address type not supported
+
  15. Schannel
  15.1 Extend support for client certificate authentication
  15.2 Extend support for the --ciphers option
  features are supported by which TLS backends, and thus also where there are
  feature gaps.
 
+14. Proxy
+
+14.1 Retry SOCKS handshake on address type not supported
+
+ When curl resolves a hostname, it might get a mix of IPv6 and IPv4 returned.
+ curl might then use an IPv6 address with a SOCKS5 proxy, which - if it does
+ not support IPv6 - returns "Address type not supported" and curl exits with
+ that error.
+
+ Perhaps it is preferred if curl would in this situation instead first retry
+ the SOCKS handshake again for this case and then use one of the IPv4
+ addresses for the target host.
+
+ See https://github.com/curl/curl/issues/17222
+
 15. Schannel
 
 15.1 Extend support for client certificate authentication