diff --git a/cmake/config.cmake b/cmake/config.cmake index f1e2e97f2..aad156ae2 100644 --- a/cmake/config.cmake +++ b/cmake/config.cmake @@ -1,5 +1,5 @@ message(STATUS "-------------YLT CONFIG SETTING-------------") -option(YLT_ENABLE_SSL "Enable ssl support" ON) +option(YLT_ENABLE_SSL "Enable ssl support" OFF) message(STATUS "YLT_ENABLE_SSL: ${YLT_ENABLE_SSL}") if (YLT_ENABLE_SSL) find_package(OpenSSL REQUIRED) diff --git a/src/coro_rpc/examples/base_examples/server.cpp b/src/coro_rpc/examples/base_examples/server.cpp index c7afd710a..6c9c3e02f 100644 --- a/src/coro_rpc/examples/base_examples/server.cpp +++ b/src/coro_rpc/examples/base_examples/server.cpp @@ -39,7 +39,7 @@ int main() { server2.register_handler(); // async start server auto res = server2.async_start(); - assert(res.has_value()); + assert(!res.hasResult()); // sync start server & sync await server stop return !server.start();