synapse-old/changelog.d
Sean Quah 9d8e380d2e
Respect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet`s (#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
..
.gitignore
12477.misc Add some type hints to datastore. (#12477) 2022-05-10 14:07:48 -04:00
12586.misc Add `@cancellable` decorator, for use on request handlers (#12586) 2022-05-10 14:05:22 +01:00
12588.misc Add ability to cancel disconnected requests to `SynapseRequest` (#12588) 2022-05-10 14:06:08 +01:00
12630.misc Add helper class for testing request cancellation (#12630) 2022-05-10 14:06:56 +01:00
12676.misc Add class-diagrams and notes for push. (#12676) 2022-05-10 07:43:34 -04:00
12677.misc Move free functions into PushRuleEvaluatorForEvent. (#12677) 2022-05-10 07:54:30 -04:00
12679.misc Stop writing to `event_reference_hashes` (#12679) 2022-05-10 15:35:08 +01:00
12683.bugfix Fix `/messages` throwing a 500 when querying for non-existent room (#12683) 2022-05-10 23:39:14 -05:00
12689.misc Refactor `EventContext` (#12689) 2022-05-10 19:43:13 +00:00
12691.misc Remove unneeded `ActionGenerator` class. (#12691) 2022-05-11 07:15:21 -04:00
12694.misc Capture the `Deferred` for request cancellation in `_AsyncResource` (#12694) 2022-05-10 20:39:05 +01:00
12695.misc Fix incorrect type hint in filtering code. (#12695) 2022-05-10 14:10:22 -04:00
12698.misc Respect the `@cancellable` flag for `DirectServe{Html,Json}Resource`s (#12698) 2022-05-11 12:24:48 +01:00
12699.misc Respect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet`s (#12699) 2022-05-11 12:25:13 +01:00