diff --git a/reference/curl/functions/curl-getinfo.xml b/reference/curl/functions/curl-getinfo.xml index ba9b52837c..540319fa39 100644 --- a/reference/curl/functions/curl-getinfo.xml +++ b/reference/curl/functions/curl-getinfo.xml @@ -71,12 +71,37 @@ - CURLINFO_REDIRECT_COUNT - Number of redirects + CURLINFO_REDIRECT_COUNT - Number of redirects, with the CURLOPT_FOLLOWLOCATION option enabled - CURLINFO_REDIRECT_TIME - Time in seconds of all redirection steps before final transaction was started + CURLINFO_REDIRECT_TIME - Time in seconds of all redirection steps before final transaction was started, with the CURLOPT_FOLLOWLOCATION option enabled + + + + + CURLINFO_REDIRECT_URL - URL of final transaction, with the CURLOPT_FOLLOWLOCATION option enabled + + + + + CURLINFO_PRIMARY_IP - IP address of the most recent connection + + + + + CURLINFO_PRIMARY_PORT - Destination port of the most recent connection + + + + + CURLINFO_LOCAL_IP - Local (source) IP address of the most recent connection + + + + + CURLINFO_LOCAL_PORT - Local (source) port of the most recent connection @@ -256,6 +281,31 @@ "certinfo" + + + "primary_ip" + + + + + "primary_port" + + + + + "local_ip" + + + + + "local_port" + + + + + "redirect_url" + + "request_header" (This is only set if the CURLINFO_HEADER_OUT @@ -278,6 +328,12 @@ + + 5.3.7 + + Introduced CURLINFO_REDIRECT_URL. + + 5.1.3