forked-synapse/tests/federation/transport
Sean Quah 9d8e380d2e
Respect the @cancellable flag for RestServlets and BaseFederationServlets (#12699)
Both `RestServlet`s and `BaseFederationServlet`s register their handlers
with `HttpServer.register_paths` / `JsonResource.register_paths`. Update
`JsonResource` to respect the `@cancellable` flag on handlers registered
in this way.

Although `ReplicationEndpoint` also registers itself using
`register_paths`, it does not pass the handler method that would have the
`@cancellable` flag directly, and so needs separate handling.

Signed-off-by: Sean Quah <seanq@element.io>
2022-05-11 12:25:13 +01:00
..
server Respect the @cancellable flag for RestServlets and BaseFederationServlets (#12699) 2022-05-11 12:25:13 +01:00
__init__.py Fix RoomDirectoryFederationTests and make them actually run (#8998) 2020-12-30 19:27:32 +00:00
test_client.py Faster joins: parse msc3706 fields in send_join response (#12011) 2022-02-17 16:11:59 +00:00
test_knocking.py Remove references to "msc2403" (#12165) 2022-03-30 11:15:47 +00:00
test_server.py Actually fix bad debug logging rejecting device list & signing key transactions (#12098) 2022-02-28 14:10:36 +00:00