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:
Tim Leung
2021-01-14 06:59:26 -05:00
committed by GitHub
parent 233c8b9fce
commit 12702be951
2 changed files with 1 additions and 1 deletions
+1
View 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,