summary refs log tree commit diff
path: root/changelog.d/12700.misc
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-05-11 12:25:39 +0100
committerGitHub <noreply@github.com>2022-05-11 12:25:39 +0100
commita559c8b0d939670b9d58dbeda6f3b1dd2f21937b (patch)
treea65624b2afd33d2b1d126d4c5144b5d2cf80812a /changelog.d/12700.misc
parentRespect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet... (diff)
downloadsynapse-a559c8b0d939670b9d58dbeda6f3b1dd2f21937b.tar.xz
Respect the `@cancellable` flag for `ReplicationEndpoint`s (#12700)
While `ReplicationEndpoint`s register themselves via `JsonResource`,
they pass a method that calls the handler, instead of the handler itself,
to `register_paths`. As a result, `JsonResource` will not correctly pick
up the `@cancellable` flag and we have to apply it ourselves.

Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'changelog.d/12700.misc')
-rw-r--r--changelog.d/12700.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12700.misc b/changelog.d/12700.misc
new file mode 100644
index 0000000000..d93eb5dada
--- /dev/null
+++ b/changelog.d/12700.misc
@@ -0,0 +1 @@
+Respect the `@cancellable` flag for `ReplicationEndpoint`s.