php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47739 Missing cURL option do disable IPv6
Submitted: 2009-03-20 23:05 UTC Modified: 2009-05-04 12:15 UTC
From: gem at rellim dot com Assigned: pajoye (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5.2.9 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gem at rellim dot com
New email:
PHP Version: OS:

 

 [2009-03-20 23:05 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-04 12:15 UTC] pajoye@php.net
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+
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 04 18:01:31 2024 UTC