Skip to content

Commit

Permalink
add test log
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jul 28, 2023
1 parent cdb7c83 commit 3399639
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/cinatra/coro_http_client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,9 @@ class coro_http_client {
size_t header_size = 2;

ws_quit_promise_ = std::make_unique<std::promise<void>>();
std::cout << "create ws promise\n";
std::shared_ptr<int> guard(nullptr, [this](auto) {
std::cout << "will quit ws coroutine, set promise\n";
ws_quit_promise_->set_value();
});

Expand Down

0 comments on commit 3399639

Please sign in to comment.