Adds documentation for:

CURLINFO_REDIRECT_URL
CURLINFO_PRIMARY_IP
CURLINFO_PRIMARY_PORT
CURLINFO_LOCAL_IP
CURLINFO_LOCAL_PORT

Sources:
cURL doc: http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
PHP changelog: http://php.net/ChangeLog-5.php

-- 
Provided by anonymous 50443 (francois.bonzon@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335116 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jean-Sebastien Hedde 2014-10-21 18:32:54 +00:00
parent 1d6e98c575
commit 71bc29ab34

View file

@ -71,12 +71,37 @@
</listitem>
<listitem>
<simpara>
<constant>CURLINFO_REDIRECT_COUNT</constant> - Number of redirects
<constant>CURLINFO_REDIRECT_COUNT</constant> - Number of redirects, with the <constant>CURLOPT_FOLLOWLOCATION</constant> option enabled
</simpara>
</listitem>
<listitem>
<simpara>
<constant>CURLINFO_REDIRECT_TIME</constant> - Time in seconds of all redirection steps before final transaction was started
<constant>CURLINFO_REDIRECT_TIME</constant> - Time in seconds of all redirection steps before final transaction was started, with the <constant>CURLOPT_FOLLOWLOCATION</constant> option enabled
</simpara>
</listitem>
<listitem>
<simpara>
<constant>CURLINFO_REDIRECT_URL</constant> - URL of final transaction, with the <constant>CURLOPT_FOLLOWLOCATION</constant> option enabled
</simpara>
</listitem>
<listitem>
<simpara>
<constant>CURLINFO_PRIMARY_IP</constant> - IP address of the most recent connection
</simpara>
</listitem>
<listitem>
<simpara>
<constant>CURLINFO_PRIMARY_PORT</constant> - Destination port of the most recent connection
</simpara>
</listitem>
<listitem>
<simpara>
<constant>CURLINFO_LOCAL_IP</constant> - Local (source) IP address of the most recent connection
</simpara>
</listitem>
<listitem>
<simpara>
<constant>CURLINFO_LOCAL_PORT</constant> - Local (source) port of the most recent connection
</simpara>
</listitem>
<listitem>
@ -256,6 +281,31 @@
"certinfo"
</simpara>
</listitem>
<listitem>
<simpara>
"primary_ip"
</simpara>
</listitem>
<listitem>
<simpara>
"primary_port"
</simpara>
</listitem>
<listitem>
<simpara>
"local_ip"
</simpara>
</listitem>
<listitem>
<simpara>
"local_port"
</simpara>
</listitem>
<listitem>
<simpara>
"redirect_url"
</simpara>
</listitem>
<listitem>
<simpara>
"request_header" (This is only set if the <constant>CURLINFO_HEADER_OUT</constant>
@ -278,6 +328,12 @@
</row>
</thead>
<tbody>
<row>
<entry>5.3.7</entry>
<entry>
Introduced <constant>CURLINFO_REDIRECT_URL</constant>.
</entry>
</row>
<row>
<entry>5.1.3</entry>
<entry>