use associated executors for intermediate handlers

Summary: * per-operation cancellation changed: total/partial signals only prevent further resending, terminal signal cancels the whole client

Reviewers: ivica

Reviewed By: ivica

Subscribers: korina

Differential Revision: https://repo.mireo.local/D27246
This commit is contained in:
Bruno Iljazovic
2024-01-09 16:35:16 +01:00
parent 1996251253
commit d78fdd3208
21 changed files with 311 additions and 414 deletions
@@ -39,8 +39,7 @@ public:
CompletionToken&& token
) {
auto initiation = [this](auto handler) {
auto ex = asio::get_associated_executor(handler, _ex);
asio::post(ex,
asio::post(_ex,
asio::prepend(std::move(handler), error_code {})
);
};