synapse-product/synapse/rest/client/v1
Richard van der Hoff 1cb84c6486
Support for routing outbound HTTP requests via a proxy (#6239)
The `http_proxy` and `HTTPS_PROXY` env vars can be set to a `host[:port]` value which should point to a proxy.

The address of the proxy should be excluded from IP blacklists such as the `url_preview_ip_range_blacklist`.

The proxy will then be used for
 * push
 * url previews
 * phone-home stats
 * recaptcha validation
 * CAS auth validation

It will *not* be used for:
 * Application Services
 * Identity servers
 * Outbound federation
 * In worker configurations, connections from workers to masters

Fixes #4198.
2019-11-01 14:07:44 +00:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
directory.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
events.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
initial_sync.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
login.py Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
logout.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
presence.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
profile.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
push_rule.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
pusher.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
room.py Port room rest handlers to async/await 2019-10-29 13:09:29 +00:00
voip.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00