diff options
| author | Sean Quah <seanq@element.io> | 2022-04-28 14:48:23 +0100 |
|---|---|---|
| committer | Sean Quah <seanq@element.io> | 2022-04-28 19:28:00 +0100 |
| commit | 5a9991c0f93b71b5eac8d6c47b1ba6d5bb2004c7 (patch) | |
| tree | 953e295710c4db377937e0dacf41ce2bbf7bd1a2 /scripts-dev/complement.sh | |
| parent | Add ability to cancel disconnected requests to `SynapseRequest` (diff) | |
| download | synapse-5a9991c0f93b71b5eac8d6c47b1ba6d5bb2004c7.tar.xz | |
Capture the `Deferred` for request cancellation in `_AsyncResource`
All async request processing goes through `_AsyncResource`, so this is
the only place where a `Deferred` needs to be captured for cancellation.
Unfortunately, the same isn't true for determining whether a request
can be cancelled. Each of `RestServlet`, `BaseFederationServlet`,
`DirectServe{Html,Json}Resource` and `ReplicationEndpoint` have
different wrappers around the method doing the request handling and they
all need to be handled separately.
Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'scripts-dev/complement.sh')
0 files changed, 0 insertions, 0 deletions
