Always use the ACE form of IDN hostnames as key in the connection cache.
Previously, curl created multiple connections when following redirections from a server with an IDN hostname, e.g. http://äöü.example.com/page1 --> http://äöü.example.com/page2 . The Unicode hostname was used as a key for the connection cache, and for the second request, the ACE name was used to search an existing connection. Therefore curl did not find the existing connection.
Fix connection reuse with IDN host names
Use the ACE form of IDN hostnames as key in the connection cache.
Add new tests.
connection reuse: IDN host names fixed
Use the ACE form of IDN hostnames as key in the connection cache. Add
Thanks a lot. The level of detail and the included new test cases in this patch makes this one of the absolutely best newcomer patches we've received in a long time. A very big 👍 for that!
Thank you for merging and for the kind words :-)