ID: 47739 Updated by: paj...@php.net Reported By: gem at rellim dot com -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Linux PHP Version: 5.2.9 -Assigned To: +Assigned To: pajoye New Comment:
This bug has been fixed in CVS. 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/. Thank you for the report, and for helping us make PHP better. Added to 5.3+ Previous Comments: ------------------------------------------------------------------------ [2009-03-20 23:05:24] gem at rellim dot com Description: ------------ I am working with a remote web server, not under my control, that has broken IPv6 support. So I need to make a cURL connection and force an IPv4 connection. The CLI 'curl' has the '-4' option. The C API has the CURL_IPRESOLVE_V4 option. But I can not see how to force this option using the PHP cURL API. In a perfect world this would not be required, but I need IPv6 for other things so I can not just diable IPv6 in my PHP. I can not fix the remote server. So I need the CURL_IPRESOLVE_V4 option. Somewhat related to bugs #39637 and #39933 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47739&edit=1