mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 16:33:53 +01:00
Fix wrong arguments being passed to BlacklistingAgentWrapper (#9098)
A reactor was being passed instead of a whitelist for the BlacklistingAgentWrapper used by the WellyKnownResolver. This coulld cause exceptions when attempting to connect to IP addresses that are blacklisted, but in reality this did not have any observable affect since this code is not used for IP literals.
This commit is contained in:
parent
233c8b9fce
commit
12702be951
2 changed files with 1 additions and 1 deletions
1
changelog.d/9098.misc
Normal file
1
changelog.d/9098.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Fix the wrong arguments being passed to `BlacklistingAgentWrapper` from `MatrixFederationAgent`. Contributed by Timothy Leung.
|
|
@ -102,7 +102,6 @@ class MatrixFederationAgent:
|
|||
pool=self._pool,
|
||||
contextFactory=tls_client_options_factory,
|
||||
),
|
||||
self._reactor,
|
||||
ip_blacklist=ip_blacklist,
|
||||
),
|
||||
user_agent=self.user_agent,
|
||||
|
|
Loading…
Reference in a new issue