[wp-trac] [WordPress Trac] #33055: Support Parallel HTTP Requests in WP_Http, et al
WordPress Trac
noreply at wordpress.org
Wed Jun 1 04:13:25 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 | Focuses: performance
----------------------------+--------------------------
Comment (by Otto42):
> cURL internally rounds this up if necessary
In the past (6-7 years ago), we found that not to always be the case.
While I have not done any tests recently or tested all known versions of
libcurl, it has been shown that giving too low of a timeout to a call to
curl will result in curl simply not making the resulting web request at
all.
Basically, if you send at least some versions of curl a timeout value
lower than 1 second, then the HTTP GET request never actually happens. It
doesn't "timeout", because it never actually times in to start with. It
simply returns, having done nothing whatsoever.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33055#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list