6 Commits

Author SHA1 Message Date
Mohammad Nejati
ee2b5b2ff9 Replace SSL_set1_host with asio::ssl::host_name_verification
`SSL_set1_host` fails when host is an IP address
2025-02-13 20:09:44 +03:30
Mohammad Nejati
ea38d841b0 SSL examples verify peer cert hostname
Fixes #2974
2025-02-11 19:43:58 +03:30
Mohammad Nejati
ff5672ec07 awaitable examples are simplified
No need for `rebind_executor` as `asio::deferred` is now the default completion token.
2024-07-07 14:58:49 +03:30
Mohammad Nejati
03b792faac net::ssl::stream is canonical in examples
We no longer need to use beast::ssl_stream to improve write performance, as
Asio now linearizes scatter/gather I/O in ssl::stream:
17637a48cc
2024-05-31 16:45:52 +03:30
Mohammad Nejati
9bf2184b33 Fix error handling in SSL shutdown operations in examples 2024-05-28 23:39:48 +03:30
Klemens Morgenstern
947b225c9e No unused function in awaitable examples. (#2605)
* No unused function in awaitable examples.
* Beast has an awaitable-ssl example.

Closes #2604.
2023-01-24 09:55:05 +08:00