| 268 | } |
| 269 | |
| 270 | void |
| 271 | on_run() |
| 272 | { |
| 273 | // Set the timeout. |
| 274 | beast::get_lowest_layer(stream_).expires_after( |
| 275 | std::chrono::seconds(30)); |
| 276 | |
| 277 | // Perform the SSL handshake |
| 278 | stream_.async_handshake( |
| 279 | ssl::stream_base::server, |
| 280 | beast::bind_front_handler( |
| 281 | &session::on_handshake, |
| 282 | shared_from_this())); |
| 283 | } |
| 284 | |
| 285 | void |
| 286 | on_handshake(beast::error_code ec) |
nothing calls this directly
no test coverage detected