switch asio from standalone to boost

This commit is contained in:
Chunting Gu
2020-08-31 14:57:47 +08:00
parent 20f02aa704
commit d49db1ec9c
507 changed files with 237 additions and 110294 deletions
+1
View File
@@ -11,6 +11,7 @@ set(AT_TARGET_NAME webcc_autotest)
# Common libraries to link.
set(AT_LIBS
webcc
${Boost_LIBRARIES}
jsoncpp
GTest::GTest
"${CMAKE_THREAD_LIBS_INIT}")
+1 -1
View File
@@ -41,7 +41,7 @@ public:
class ClientTimeoutTest : public testing::Test {
public:
static void SetUpTestCase() {
g_server.reset(new webcc::Server{ asio::ip::tcp::v4(), kPort });
g_server.reset(new webcc::Server{ boost::asio::ip::tcp::v4(), kPort });
g_server->Route(webcc::R{ "/sleep/(\\d+)" },
std::make_shared<HelloView>());