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.
pull/9114/head
Tim Leung 2021-01-14 11:59:26 +00:00 committed by GitHub
parent 233c8b9fce
commit 12702be951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

1
changelog.d/9098.misc Normal file
View File

@ -0,0 +1 @@
Fix the wrong arguments being passed to `BlacklistingAgentWrapper` from `MatrixFederationAgent`. Contributed by Timothy Leung.

View File

@ -102,7 +102,6 @@ class MatrixFederationAgent:
pool=self._pool, pool=self._pool,
contextFactory=tls_client_options_factory, contextFactory=tls_client_options_factory,
), ),
self._reactor,
ip_blacklist=ip_blacklist, ip_blacklist=ip_blacklist,
), ),
user_agent=self.user_agent, user_agent=self.user_agent,