| 771 | } |
| 772 | |
| 773 | void |
| 774 | on_run() |
| 775 | { |
| 776 | // Set the timeout. |
| 777 | stream_.expires_after(std::chrono::seconds(30)); |
| 778 | |
| 779 | beast::async_detect_ssl( |
| 780 | stream_, |
| 781 | buffer_, |
| 782 | beast::bind_front_handler( |
| 783 | &detect_session::on_detect, |
| 784 | this->shared_from_this())); |
| 785 | } |
| 786 | |
| 787 | void |
| 788 | on_detect(beast::error_code ec, bool result) |
nothing calls this directly
no test coverage detected