Skip to content

Commit d0e7724

Browse files
committed
fix ssl
1 parent 48e7cfc commit d0e7724

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/ylt/standalone/cinatra/coro_http_server.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ class coro_http_server {
653653
std::string_view head_msg) {
654654
auto conn = accept_impl(std::move(soc), true);
655655
conn->add_head(head_msg);
656-
start_one(conn).via(conn->get_executor()).detach();
656+
start_one(conn, true).via(conn->get_executor()).detach();
657657
}
658658

659659
private:
@@ -737,8 +737,8 @@ class coro_http_server {
737737
}
738738
}
739739
async_simple::coro::Lazy<void> start_one(
740-
std::shared_ptr<coro_http_connection> conn) noexcept {
741-
co_await conn->start();
740+
std::shared_ptr<coro_http_connection> conn, bool is_transfered = false) noexcept {
741+
co_await conn->start(is_transfered);
742742
}
743743

744744
void close_acceptor() {

0 commit comments

Comments
 (0)