On Tue, 7 Jun 2022, Adam Light wrote:
it seems that it's not possible to determine whether the effective URL returned by curl_easy_getinfo is actually valid.
As I told you, it is not *before* the transfer is done.
I had been using curl_easy_getinfo as a way to determine which URL would be used if I were to call curl_easy_perform().
Side-effect. That's not exactly what CURLINFO_EFFECTIVE_URL is. You just figured out that you could use it for that purpose in this circumstance.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html