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
..
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2023-05-08 14:42:21 +02:00
2023-07-10 10:51:02 +02:00
2019-02-25 14:48:22 +01:00
2021-03-10 16:29:40 +01:00
2019-07-12 14:36:55 +02:00
2019-07-12 14:36:55 +02:00
2023-01-27 11:36:09 +01:00
2023-01-27 12:03:59 +01:00
2024-11-06 11:37:02 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2019-02-25 14:48:22 +01:00
2022-03-02 16:39:37 +01:00
2023-04-04 13:40:27 +02:00
2023-05-17 18:05:13 +02:00
2022-11-30 11:06:51 +01:00
2019-08-13 15:05:47 +02:00
2022-09-12 17:22:57 +02:00
2023-01-26 15:04:02 +01:00
2023-01-26 15:04:02 +01:00
2023-05-23 19:23:14 +02:00
2023-05-11 15:41:35 +02:00
2019-04-16 15:04:57 +02:00
2021-02-03 09:54:57 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2022-11-30 11:06:45 +01:00
2022-11-30 11:06:45 +01:00
2021-04-27 17:31:50 +02:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2019-02-25 14:48:22 +01:00
2024-08-27 14:23:41 +02: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-12-13 16:02:50 +01:00
2023-12-13 16:02:50 +01:00
2022-07-28 17:00:57 +02:00
2022-07-28 17:00:57 +02:00
2023-07-13 16:55:48 +02:00
2023-07-13 16:55:48 +02:00
2021-03-10 16:29:40 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2019-02-25 14:48:22 +01:00
2023-01-19 17:56:44 +01:00
2019-02-25 14:48:22 +01:00
2021-03-10 16:29:40 +01:00
2021-03-10 16:29:40 +01:00
2023-05-17 18:05:13 +02:00
2024-09-20 16:18:12 +02:00
2023-05-23 19:23:14 +02:00
2024-02-08 12:09:06 +01: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
2023-01-19 17:56:44 +01:00
2023-02-14 16:19:44 +01:00
2019-02-25 14:48:22 +01:00
2019-05-24 16:25:32 +02:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2023-01-18 15:57:32 +01:00
2023-01-19 09:53:36 +01:00
2024-09-27 14:23:05 +02:00
2023-08-15 13:03:31 +02:00
2023-01-19 17:56:44 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-01-19 17:56:44 +01:00
2024-11-13 14:26:10 +01:00
2024-11-13 14:26:10 +01:00
2023-07-13 16:55:48 +02:00
2023-07-13 16:55:48 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2019-02-25 14:48:22 +01:00
2021-03-23 13:13:47 +01:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2023-04-04 10:35:20 +02:00
2019-04-17 18:26:29 +02:00
2019-04-17 18:26:29 +02:00
2022-12-08 15:48:01 +01:00
2023-05-17 18:05:13 +02:00
2019-02-25 14:48:22 +01:00
2024-04-25 17:41:12 +02:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2023-01-18 15:57:27 +01:00
2024-01-17 12:25:59 +01:00
2024-04-23 17:45:31 +02:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +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-02-10 15:47:25 +01:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2023-02-10 11:33:46 +01:00
2023-01-19 09:53:36 +01:00
2019-11-08 11:13:26 +01:00
2023-01-19 17:55:11 +01:00
2022-11-30 10:45:50 +01:00
2023-04-04 13:40:27 +02:00
2020-12-25 23:27:08 +01: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
2021-03-01 14:07:11 +01:00
2021-03-01 14:07:11 +01:00
2019-02-25 14:48:22 +01:00
2023-07-13 16:55:48 +02:00
2023-07-13 16:55:48 +02:00
2023-07-13 16:55:48 +02:00
2023-07-13 16:55:48 +02:00
2023-04-14 14:52:04 +02:00
2021-02-03 09:54:57 +01:00
2019-02-25 14:48:22 +01:00
2023-05-17 18:05:13 +02:00
2023-01-05 11:18:20 +01:00
2023-01-05 11:18:20 +01:00
2023-01-19 09:53:36 +01:00
2021-09-15 10:15:22 +02:00
2019-02-25 14:48:22 +01:00
2019-02-26 11:25:44 +01:00
2023-02-28 10:57:54 +01:00
2023-05-23 14:41:35 +02:00
2023-05-23 14:41:35 +02:00
2023-04-04 10:35:22 +02:00
2023-04-04 10:35:22 +02:00
2024-11-18 13:45:01 +01:00
2024-11-18 13:45:01 +01:00
2023-12-19 14:57:47 +01:00
2023-12-18 15:28:11 +01:00
2024-09-20 16:18:12 +02:00
2024-09-20 16:18:12 +02:00
2023-05-17 18:05:13 +02:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-05-29 14:17:36 +02:00
2024-09-04 10:26:50 +02:00
2024-08-23 12:48:50 +02:00
2023-01-26 09:06:20 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2021-06-21 15:15:54 +02:00
2021-06-21 15:15:54 +02:00
2021-06-21 15:15:54 +02:00
2021-06-21 15:15:54 +02:00
2023-04-04 10:35:20 +02:00
2022-11-30 11:10:24 +01:00