[wp-trac] [WordPress Trac] #33055: Support Parallel HTTP Requests in WP_Http, et al

WordPress Trac noreply at wordpress.org
Tue Jun 14 05:30:02 UTC 2016


#33055: Support Parallel HTTP Requests in WP_Http, et al
----------------------------------------+--------------------------
 Reporter:  wonderboymusic              |       Owner:  rmccue
     Type:  task (blessed)              |      Status:  assigned
 Priority:  high                        |   Milestone:  4.6
Component:  HTTP API                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch needs-dev-note  |     Focuses:  performance
----------------------------------------+--------------------------

Comment (by rmccue):

 In [changeset:"37694"]:
 {{{
 #!CommitTicketReference repository="" revision="37694"
 HTTP API: Update Requests.

 This introduces a minimum value of 1 second for timeouts passed to cURL.

 Internally, cURL uses alarm() for interrupts, which accepts a second-
 resolution timeout. Any values lower than 1 second are instantly failed
 rather than being rounded upwards. While this makes the experience worse
 for those using asynchronous DNS lookups, there's no way to detect which
 DNS resolver is being used from PHP.

 See #33055, #8923.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33055#comment:62>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list