http: Cleanup excessive logging.

This commit is contained in:
Unknown W. Brackets
2021-01-01 08:55:18 -08:00
parent 83644ec1b8
commit c3ddb279f9
4 changed files with 28 additions and 8 deletions
+2
View File
@@ -366,6 +366,7 @@ int Client::ReadResponseHeaders(Buffer *readbuf, std::vector<std::string> &respo
if (code_pos != line.npos) {
code = atoi(&line[code_pos]);
} else {
ERROR_LOG(IO, "Code not parse HTTP status code");
return -1;
}
@@ -377,6 +378,7 @@ int Client::ReadResponseHeaders(Buffer *readbuf, std::vector<std::string> &respo
}
if (responseHeaders.size() == 0) {
ERROR_LOG(IO, "No HTTP response headers");
return -1;
}