[wp-trac] [WordPress Trac] #16870: consider disabling the cURL HTTP transport for failed requests

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 16 23:18:46 UTC 2011


#16870: consider disabling the cURL HTTP transport for failed requests
--------------------------+----------------------------
 Reporter:  dd32          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  HTTP          |    Version:  2.9
 Severity:  normal        |   Keywords:  2nd-opinion
--------------------------+----------------------------
 There has been a number of reports over the lifespan of the cURL HTTP
 transport failing with an error during upgrades:
 {{{
 WP HTTP Error: name lookup timed out
 }}}

 This is a common error from cURL on badly configured installations
 (specifically, IIRC it lacks DNS Resolving in cURL, sometimes it just
 required an extended amount of time to resolve, others, it simply can't
 resolve)

 Like we do with fsockopen() I think it'd be worth disabling the cURL
 transport for x hours when it hits this particular error condition..

 Related threads: http://wordpress.org/support/topic/dashboard-issues-rss-
 error-wp-http-error-name-lookup-timed-out and
 http://wordpress.org/support/topic/plugins-update-failure  Both old
 threads, so this may only affect a PHP4 version of cURL.. For tracking
 purposes, I've finally created this ticket.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16870>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list