From 76337013af1a0dfa8c5da79dd0f008166000001d Mon Sep 17 00:00:00 2001 From: cflip Date: Thu, 7 Jul 2022 13:14:35 -0600 Subject: Don't print HTTP requests to the console --- src/ClientConnection.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ClientConnection.cpp b/src/ClientConnection.cpp index d54b4ee..4e8b434 100644 --- a/src/ClientConnection.cpp +++ b/src/ClientConnection.cpp @@ -19,8 +19,6 @@ HttpRequest ClientConnection::read_request() memset(buffer, 0, BUFFER_SIZE); while ((n = read(m_socket_fd, buffer, BUFFER_SIZE-1)) > 0) { - std::cout << buffer; - if (buffer[n-1] == '\n') break; -- cgit v1.2.3