#47739 [Opn->Csd]: Missing cURL option do disable IPv6
| From: | pajoye@php.net | Date: | Mon, 04 May 2009 12:15:18 +0000 |
| Subject: | #47739 [Opn->Csd]: Missing cURL option do disable IPv6 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136721@lists.php.net to get a copy of this message | ||
ID: 47739
Updated by: pajoye@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