forked-synapse/synapse/http
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
..
federation Add missing type hints to synapse.logging.context (#11556) 2021-12-14 17:35:28 +00:00
__init__.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
additional_resource.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
client.py Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00
connectproxyclient.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
matrixfederationclient.py Immediately retry any requests that have backed off when a server comes back online. (#12500) 2022-05-10 10:39:54 +01:00
proxyagent.py Bump black and click versions (#12320) 2022-03-29 10:41:19 +00:00
request_metrics.py Type hints for the remaining two files in synapse.http. (#11164) 2021-10-28 14:14:42 +01:00
server.py Respect the @cancellable flag for RestServlets and BaseFederationServlets (#12699) 2022-05-11 12:25:13 +01:00
servlet.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
site.py Capture the Deferred for request cancellation in _AsyncResource (#12694) 2022-05-10 20:39:05 +01:00
types.py Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00