Julian Brost c584ff8948 AsioTlsStream: add GracefulDisconnect() and ForceDisconnect()
Calling `AsioTlsStream::async_shutdown()` performs a TLS shutdown which
exchanges messages (that's why it takes a `yield_context`) and thus has the
potential to block the coroutine. Therefore, it should be protected with a
timeout. As `async_shutdown()` doesn't simply take a timeout, this has to be
implemented using a timer. So far, these timers are scattered throughout the
codebase with some places missing them entirely. This commit adds helper
functions to properly shutdown a TLS connection with a single function call.
2024-11-18 13:45:01 +01:00
..
2023-01-27 11:36:09 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-04-04 13:40:27 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-12-13 16:02:50 +01:00
2023-12-13 16:02:50 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2021-09-23 16:08:11 +02:00
2021-09-23 16:08:11 +02:00
2021-09-23 16:08:11 +02:00
2019-05-24 16:25:32 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2021-02-03 09:54:57 +01:00
2023-05-17 18:05:13 +02:00
2019-11-08 11:13:26 +01:00
2023-04-04 13:40:27 +02:00
2020-12-25 23:27:08 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00