From c8b883215d2d1095d7580e8a55adfeb216da12a0 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Tue, 28 Jan 2025 13:45:28 +0100 Subject: [PATCH] Turned off debug messages for Netty. --- repos/libports/src/test/netty/tcp/main.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/repos/libports/src/test/netty/tcp/main.cc b/repos/libports/src/test/netty/tcp/main.cc index 4c15a07a56..c39f8fda4f 100644 --- a/repos/libports/src/test/netty/tcp/main.cc +++ b/repos/libports/src/test/netty/tcp/main.cc @@ -59,13 +59,13 @@ void Netty::Tcp::server(int const sd, bool const nonblock, bool const read_write Genode::log("okay, accept will not block"); } - Genode::log("test in ", nonblock ? "non-blocking" : "blocking", " mode"); + //Genode::log("test in ", nonblock ? "non-blocking" : "blocking", " mode"); int const cd = accept(sd, pcaddr, &scaddr); - Genode::log("cd=", cd); + //Genode::log("cd=", cd); if (cd == -1) DIE("accept"); - getnames(cd); + //getnames(cd); size_t count = 0; static char data[64*1024]; @@ -78,7 +78,7 @@ void Netty::Tcp::server(int const sd, bool const nonblock, bool const read_write : recv(cd, data, sizeof(data), 0); if (ret == 0) { - Genode::log("experienced EOF"); + //Genode::log("experienced EOF"); break; } @@ -102,7 +102,7 @@ void Netty::Tcp::server(int const sd, bool const nonblock, bool const read_write if (ret == -1) DIE("select"); } - Genode::log("echoed ", count, " bytes"); + //Genode::log("echoed ", count, " bytes"); ret = shutdown(cd, SHUT_RDWR); if (ret == -1) DIE("shutdown");