I did this
I ran the example code https://curl.se/libcurl/c/10-at-a-time.html and replaced the urls array in the code with urls from the same host. There are a lot of logs showing "connection #xxx is still name resolving, can't reuse". After a series of investigations, I found that this commit #10456 caused it. Is this a normal phenomenon normal? It seems that this change will cause conn->bits.close to be false, so the if (check->connect_only || check->bits.close) of the ConnectionExists function is judged to be false, causing the function to continue to execute, and a large number of logs appear " Connection #xxx is still name resolving, can't reuse". If the change is rolled back, there will be no log indicating that the connection cannot be reused.
I expected the following
I would like to know whether this phenomenon is normal or if there is an error.
curl/libcurl version
8.0.1
operating system
Mac / Windows