diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-05-10 14:06:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 14:06:56 +0100 |
commit | dbb12a0b547914024316b6eb510069e900680e42 (patch) | |
tree | cd473b0e438a1500cae1ee1240bc3128871fbf40 /changelog.d/12630.misc | |
parent | Add ability to cancel disconnected requests to `SynapseRequest` (#12588) (diff) | |
download | synapse-dbb12a0b547914024316b6eb510069e900680e42.tar.xz |
Add helper class for testing request cancellation (#12630)
Also expose the `SynapseRequest` from `FakeChannel` in tests, so that we can call `Request.connectionLost` to simulate a client disconnecting. Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'changelog.d/12630.misc')
-rw-r--r-- | changelog.d/12630.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12630.misc b/changelog.d/12630.misc new file mode 100644 index 0000000000..43e12603e2 --- /dev/null +++ b/changelog.d/12630.misc @@ -0,0 +1 @@ +Add a helper class for testing request cancellation. |