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
