Edit report at https://bugs.php.net/bug.php?id=62912&edit=1
ID: 62912 Updated by: pierr...@php.net Reported by: mommens at gmail dot com Summary: CURLINFO_PRIMARY_IP is not exposed -Status: Assigned +Status: Closed Type: Feature/Change Request Package: cURL related Operating System: Linux PHP Version: 5.4.6 Assigned To: pierrick Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. The bug was fixed in 5.4 and don't need to be fix in other versions. Previous Comments: ------------------------------------------------------------------------ [2012-08-24 14:26:56] pierr...@php.net Automatic comment on behalf of pierrick Revision: http://git.php.net/?p=php-src.git;a=commit;h=4c83ecc75452a23799c39f9bbb95b617fa46bf84 Log: Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed) ------------------------------------------------------------------------ [2012-08-24 14:24:47] pierr...@php.net Automatic comment on behalf of pierrick Revision: http://git.php.net/?p=php-src.git;a=commit;h=4c83ecc75452a23799c39f9bbb95b617fa46bf84 Log: Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed) ------------------------------------------------------------------------ [2012-08-23 20:20:56] mommens at gmail dot com Description: ------------ The primary IP of crawled resources is available through curl_getinfo but the constant CURLINFO_PRIMARY_IP is not defined. Test script: --------------- $ch = curl_init('http://www.php.net'); curl_exec($ch); var_dump(curl_getinfo($ch, 1048608)); Expected result: ---------------- Define CURLINFO_PRIMARY_IP = 1048608 and add this to the curl extension documentation. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62912&edit=1