On Tue, 2 May 2017, D M wrote:
And it works in curl 7.21.0 on Debian 6. But in new versions of curl we receive just empty string from CURLINFO_PRIMARY_IP and don't know which IP curl try to use.
Since it wasn't documented nor verified in tests to work like that, nobody cared for that detail!
I think much better will be to return IP if only resolving was successful.
I'll volunteer to review all patches that bring this functionality (back). I think they should include a documentation update and at least one test case.
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
