From: gem at rellim dot com Operating system: Linux PHP version: 5.2.9 PHP Bug Type: Feature/Change Request Bug description: Missing cURL option do disable IPv6
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 bug report at http://bugs.php.net/?id=47739&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47739&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47739&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47739&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47739&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47739&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47739&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47739&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47739&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47739&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47739&r=support Expected behavior: http://bugs.php.net/fix.php?id=47739&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47739&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47739&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47739&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47739&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47739&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47739&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47739&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47739&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47739&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47739&r=mysqlcfg