On Thu, 5 Sep 2013, Gaurav Rastogi -X (garastog - ARICENT TECHNOLOGIES MAURIITIUS LIMITED at Cisco) wrote:
3. What we want is that : Is there any option using which we can set this IP/port using CURL interface which should be independent from the URL, so that we can avoid sending DNS lookup request to DNS server. Please note we need to set FQDN in https request URL as we are validating 3rd party certificates using the FQDN.
Are you looking for CURLOPT_RESOLVE ? http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTRESOLVE -- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
