forked-synapse/synapse/handlers
Erik Johnston e29c44340b
Fix recursion error when fetching auth chain over federation (#7817)
When fetching the state of a room over federation we receive the event
IDs of the state and auth chain. We then fetch those events that we
don't already have.

However, we used a function that recursively fetched any missing auth
events for the fetched events, which can lead to a lot of recursion if
the server is missing most of the auth chain. This work is entirely
pointless because would have queued up the missing events in the auth
chain to be fetched already.

Let's just diable the recursion, since it only gets called from one
place anyway.
2020-07-10 18:15:35 +01:00
..
ui_auth Convert identity handler to async/await. (#7561) 2020-05-26 13:46:22 -04:00
__init__.py Fix registration on workers (#4682) 2019-02-20 18:47:31 +11:00
_base.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
account_data.py Remove unused get_pagination_rows methods. (#6557) 2019-12-17 11:44:32 +00:00
account_validity.py Fix buggy condition in account validity handler (#7074) 2020-03-16 12:16:30 +00:00
acme_issuing_service.py Allow configuration of the path used for ACME account keys. 2019-06-24 13:51:22 +01:00
acme.py Small grammar fixes to the ACME v1 deprecation notice (#6944) 2020-02-21 08:53:01 +00:00
admin.py Admin api to add an email address (#6789) 2020-02-07 10:29:36 +00:00
appservice.py Convert the appservice handler to async/await. (#7775) 2020-07-06 07:40:35 -04:00
auth.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
cas_handler.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
deactivate_account.py Add local_current_membership table (#6655) 2020-01-15 14:59:33 +00:00
device.py Fix "There was no active span when trying to log." error (#7698) 2020-06-15 16:42:21 +01:00
devicemessage.py Convert the device message and pagination handlers to async/await. (#7678) 2020-06-16 08:06:17 -04:00
directory.py Convert directory handler to async/await (#7727) 2020-06-22 07:18:00 -04:00
e2e_keys.py Replace iteritems/itervalues/iterkeys with native versions. (#7692) 2020-06-15 07:03:36 -04:00
e2e_room_keys.py Ensure etag is a string for GET room_keys/version response (#7691) 2020-06-15 13:42:44 -04:00
events.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
federation.py Fix recursion error when fetching auth chain over federation (#7817) 2020-07-10 18:15:35 +01:00
groups_local.py Add HomeServer.signing_key property (#7805) 2020-07-08 17:51:56 +01:00
identity.py Stop passing bytes when dumping JSON (#7799) 2020-07-08 07:14:56 -04:00
initial_sync.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
message.py Generate real events when we reject invites (#7804) 2020-07-09 10:40:19 +01:00
oidc_handler.py Ensure that HTML pages served from Synapse include headers to avoid embedding. 2020-07-02 09:58:31 -04:00
pagination.py Convert the device message and pagination handlers to async/await. (#7678) 2020-06-16 08:06:17 -04:00
password_policy.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
presence.py Refactor getting replication updates from database. (#7636) 2020-06-16 17:10:28 +01:00
profile.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
read_marker.py Port receipt and read markers to async/wait 2019-10-29 15:08:22 +00:00
receipts.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
register.py Additional configuration options for auto-join rooms (#7763) 2020-06-30 15:41:36 -04:00
room_list.py Replace iteritems/itervalues/iterkeys with native versions. (#7692) 2020-06-15 07:03:36 -04:00
room_member_worker.py update_membership declaration: now always returns an event id. (#7809) 2020-07-09 13:01:42 +01:00
room_member.py update_membership declaration: now always returns an event id. (#7809) 2020-07-09 13:01:42 +01:00
room.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
saml_handler.py Clean up exception handling in SAML2ResponseResource (#7614) 2020-06-03 10:41:12 +01:00
search.py Convert search code to async/await. (#7460) 2020-05-11 15:12:39 -04:00
set_password.py Hash passwords earlier in the password reset process (#7538) 2020-05-20 09:48:03 -04:00
state_deltas.py Convert user directory handler and related classes to async/await. (#7640) 2020-06-05 14:42:55 -04:00
stats.py Convert user directory handler and related classes to async/await. (#7640) 2020-06-05 14:42:55 -04:00
sync.py Back out MSC2625 implementation (#7761) 2020-07-01 11:08:25 +01:00
typing.py Refactor getting replication updates from database v2. (#7740) 2020-07-07 12:11:35 +01:00
user_directory.py Replace iteritems/itervalues/iterkeys with native versions. (#7692) 2020-06-15 07:03:36 -04:00