[wp-trac] [WordPress Trac] #63547: wp_remote_post not respecting timeout & blocking params
WordPress Trac
noreply at wordpress.org
Mon Jun 9 13:14:16 UTC 2025
#63547: wp_remote_post not respecting timeout & blocking params
--------------------------+--------------------------
Reporter: mihai200 | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.9
Component: HTTP API | Version: 4.6
Severity: normal | Resolution:
Keywords: | Focuses: performance
--------------------------+--------------------------
Comment (by siliconforks):
Replying to [comment:13 b1ink0]:
> After trying @siliconforks' suggestion about using
[https://php.watch/codex/CURL_VERSION_ASYNCHDNS], it seems to fix the
issue. Here is the result of running the test script from
https://core.trac.wordpress.org/ticket/63547#comment:3.
Note that the actual fix would need to be a bit more complicated than
that, since you would need to call `curl_version()` and check whether it
contains the `CURL_VERSION_ASYNCHDNS` value.
I've proposed a patch to the upstream project here:
https://github.com/WordPress/Requests/pull/932
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63547#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list