detect_ssl, async_detect_ssl are public interfaces

This commit is contained in:
Vinnie Falco
2019-02-21 18:09:39 -08:00
parent b2807ae3ee
commit 90b783cb62
28 changed files with 1057 additions and 784 deletions

View File

@@ -14,7 +14,6 @@ if (OPENSSL_FOUND)
add_executable (advanced-server-flex
${BOOST_BEAST_FILES}
${PROJECT_SOURCE_DIR}/example/common/detect_ssl.hpp
${PROJECT_SOURCE_DIR}/example/common/server_certificate.hpp
Jamfile
advanced_server_flex.cpp

View File

@@ -13,7 +13,6 @@
//
//------------------------------------------------------------------------------
#include "example/common/detect_ssl.hpp"
#include "example/common/server_certificate.hpp"
#include <boost/beast/core.hpp>
@@ -822,7 +821,7 @@ public:
// Set the timeout.
stream_.expires_after(std::chrono::seconds(30));
async_detect_ssl(
beast::async_detect_ssl(
stream_,
buffer_,
beast::bind_front_handler(