diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-05-11 12:25:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 12:25:39 +0100 |
commit | a559c8b0d939670b9d58dbeda6f3b1dd2f21937b (patch) | |
tree | a65624b2afd33d2b1d126d4c5144b5d2cf80812a /changelog.d | |
parent | Respect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet... (diff) | |
download | synapse-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')
-rw-r--r-- | changelog.d/12700.misc | 1 |
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. |