mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
9d8e380d2e
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> |
||
---|---|---|
.. | ||
.gitignore | ||
12477.misc | ||
12586.misc | ||
12588.misc | ||
12630.misc | ||
12676.misc | ||
12677.misc | ||
12679.misc | ||
12683.bugfix | ||
12689.misc | ||
12691.misc | ||
12694.misc | ||
12695.misc | ||
12698.misc | ||
12699.misc |