mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 16:24:53 +02:00
HTTP error logging fixes
This commit is contained in:
@@ -387,6 +387,11 @@ int Client::ReadResponseHeaders(net::Buffer *readbuf, std::vector<std::string> &
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (readbuf->empty()) {
|
||||
ERROR_LOG(Log::HTTP, "Empty HTTP header read buffer :(");
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Grab the first header line that contains the http code.
|
||||
|
||||
std::string line;
|
||||
|
||||
Reference in New Issue
Block a user