http: Skip processing response body for void.

No need to decompress or copy between buffers.
This commit is contained in:
Unknown W. Brackets 2021-05-01 10:59:15 -07:00
parent 20443571bd
commit 1459c16fb8
4 changed files with 30 additions and 19 deletions

View file

@ -262,11 +262,11 @@ namespace Reporting
{
http::Client http;
http::RequestProgress progress;
Buffer theVoid;
Buffer theVoid = Buffer::Void();
http.SetUserAgent(StringFromFormat("PPSSPP/%s", PPSSPP_GIT_VERSION));
if (output == NULL)
if (output == nullptr)
output = &theVoid;
const char *serverHost = ServerHostname();