[wp-trac] [WordPress Trac] #20222: No way to force local HTTP requests through proxy
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 12 23:54:26 UTC 2012
#20222: No way to force local HTTP requests through proxy
--------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
The HTTP API will send requests through a proxy server if the
`WP_PROXY_HOST` and `WP_PROXY_POST` constants are defined.
If the host of an HTTP request is the same as the current host (as is the
case when a WP-cron request is spawned) then the request won't be sent
through the proxy and there is no way to override this (see [source:/trunk
/wp-includes/class-http.php at 20171#L1346]).
I use a proxy for logging and debugging HTTP requests and it's not
possible for me to send local HTTP requests through the proxy.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20222>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list