Implement shutting down the write-side only

This commit is contained in:
2025-09-15 15:39:28 -04:00
parent 6b52c4289c
commit 55f6ebc02b
4 changed files with 37 additions and 21 deletions

View File

@@ -39,7 +39,7 @@ TEST_CASE("Echo test") {
// MessageSender)
auto *conn_ptr = static_cast<Connection *>(conn.get());
conn_ptr->append_bytes(std::exchange(handler.reply, {}),
std::move(handler.arena), false);
std::move(handler.arena), ConnectionShutdown::None);
} else {
REQUIRE(false);
}