From ac8eddf464961dfd00e868385e9eea1e4c8d9563 Mon Sep 17 00:00:00 2001 From: Nigel <254270454+ELF-Nigel@users.noreply.github.com> Date: Mon, 9 Mar 2026 21:42:54 -0400 Subject: [PATCH] Make max payload size 2gb, no more payload error --- auth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.cpp b/auth.cpp index 0af7ed4..04f9a31 100644 --- a/auth.cpp +++ b/auth.cpp @@ -3665,7 +3665,7 @@ std::string KeyAuth::api::req(std::string data, const std::string& url) { if (KeyAuth::api::debug) { debugInfo("n/a", "n/a", to_return, "n/a"); } - if (to_return.size() > (2 * 1024 * 1024)) { + if (to_return.size() > (2ULL * 1024ULL * 1024ULL * 1024ULL)) { if (req_headers) curl_slist_free_all(req_headers); curl_easy_cleanup(curl); error(XorStr("response too large."));