Skip to content

Commit

Permalink
umb_echo_server debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Jan 16, 2024
1 parent 1521a96 commit 9bb4d80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/umb_echo_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,11 @@ handle_multi_part_msg(
static_cast<int>(type));
}

// TODO: what the fuck is going on here?
std::wcout << std::format(L"*** received message: {} ***\n\n\n", msg->to_string()) << std::endl;
std::wcout << std::endl;
std::cout << std::endl;

const auto bytes_out = msg->to_bytes();
// Only count the number of payload bytes left here.
auto bytes_left = bytes_out.size() - umb::g_header_size;
Expand Down Expand Up @@ -504,6 +509,7 @@ awaitable<void> listener()
int main()
{
std::cout << std::unitbuf;
std::wcout << std::unitbuf;

try
{
Expand Down

0 comments on commit 9bb4d80

Please sign in to comment.