mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 08:16:02 -04:00
Don't apply the IP range blacklist to proxy connections (#9084)
It is expected that the proxy would be on a private IP address so the configured proxy should be connected to regardless of the IP range blacklist.
This commit is contained in:
parent
fa6deb298b
commit
e385c8b473
4 changed files with 145 additions and 3 deletions
|
@ -341,6 +341,7 @@ class SimpleHttpClient:
|
|||
|
||||
self.agent = ProxyAgent(
|
||||
self.reactor,
|
||||
hs.get_reactor(),
|
||||
connectTimeout=15,
|
||||
contextFactory=self.hs.get_http_client_context_factory(),
|
||||
pool=pool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue