[wp-trac] [WordPress Trac] #40266: cURL.php process_response() returns no domain name for some Requests_Exception errors

WordPress Trac noreply at wordpress.org
Sat Mar 25 20:55:04 UTC 2017


#40266: cURL.php process_response() returns no domain name for some
Requests_Exception errors
--------------------------+-----------------------------
 Reporter:  dfavor        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Some errors return a domain...

 PHP Requests_Exception:  cURL error 6: Could not resolve host:
 cdn.api.twitter.com in .../wordpress/wp-
 includes/Requests/Transport/cURL.php on line 422

 Some errors do not return a domain...

 PHP Requests_Exception:  cURL error 28: Resolving timed out after 1510
 milliseconds in .../wordpress/wp-includes/Requests/Transport/cURL.php on
 line 422

 When no domain is returned, debugging this type of problem is impossible.

 Request the function '''process_response()''' be rewritten to always
 return a domain for curl exceptions.

 Thanks for your consideration to fix this bug.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40266>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list