[wp-trac] Re: [WordPress Trac] #9998: cURL DNS Lookup timeout;
Plugin and Update Download Fail
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 1 22:47:30 GMT 2009
#9998: cURL DNS Lookup timeout; Plugin and Update Download Fail
--------------------------+-------------------------------------------------
Reporter: carltonbale | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: HTTP | Version: 2.7.1
Severity: normal | Keywords: cURL, dns lookup, plugin download fail, "name lookup timeout"
--------------------------+-------------------------------------------------
Comment(by dd32):
Unfortunately this is due to a buggy cURL Extension on some hosts,
particually within europe i believe.
There is nothing wordpress can do to test for it it seems.
The only available option is to re-order the tests for the HTTP API, so
that hopefully, cURL isnt used at all, unless absolutely required.
I'd be +1 for changing it to this order:
{{{
HTTP Extension
FSockopen
Curl
Streams
FOpen
}}}
fsockopen was used extensivly before the HTTP API was introduced, and had
few incompatibilities, while it wasnt always right.. it was more than
often more reliable than cURL.
jacobsantos? Any feedback on that?
Setting to Future release pending a commitable patch and discussion of
what the best approach is.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9998#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list