diff options
author | cflip <cflip@cflip.net> | 2022-07-07 13:14:35 -0600 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2022-07-07 13:14:35 -0600 |
commit | 76337013af1a0dfa8c5da79dd0f008166000001d (patch) | |
tree | a4fb5237113fa97aa2c2ae5e0662fc1aba2ca5bc /src/ClientConnection.cpp | |
parent | ad5e23ea88d73715a5de0fc7ede190a9657c51fc (diff) |
Don't print HTTP requests to the console
Diffstat (limited to 'src/ClientConnection.cpp')
-rw-r--r-- | src/ClientConnection.cpp | 2 |
1 files changed, 0 insertions, 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; |