wiki.techinc.nl/includes/http
Kunal Mehta 5312ac5497 http: Add $wgLocalHTTPProxy to set a proxy for local requests
Currently requests to domains listed in $wgLocalVirtualHosts bypass
use of the standard $wgHttpProxy. With WMF's migration to Kubernetes, we
limit outgoing traffic in a much stricter manner, so even internal
requests will need to go over a proxy (e.g. Envoy).

If the domain passes MWHttpRequest::isLocalURL(), then $wgLocalHTTPProxy
will be used if set, otherwise no proxy will be used (current behavior).

Bug: T288848
Change-Id: Ifd0cbab02fa8f14a82ca34ebc7ad95b2be174434
2021-08-19 16:11:21 +00:00
..
CurlHttpRequest.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
GuzzleHttpRequest.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
Http.php Use HttpRequestFactory::createMultiClient() in core where possible 2020-06-02 10:51:43 +10:00
HttpRequestFactory.php http: Add $wgLocalHTTPProxy to set a proxy for local requests 2021-08-19 16:11:21 +00:00
MWCallbackStream.php Use @internal instead of @private per policy 2020-06-26 14:14:23 +02:00
MWHttpRequest.php http: Add $wgLocalHTTPProxy to set a proxy for local requests 2021-08-19 16:11:21 +00:00
MwHttpRequestToResponseInterfaceAdapter.php Upstream MwHttpRequestToResponseInterfaceAdapter from Wikibase 2020-10-07 10:17:37 +02:00
PhpHttpRequest.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00