From d84aad170b79cc17faab235d06b5781d5f2f5d0a Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Fri, 15 Dec 2023 12:03:31 -0500
Subject: [PATCH] Increase LLSD unzip scratch buffer size

---
 indra/llcommon/llsdserialize.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llcommon/llsdserialize.cpp b/indra/llcommon/llsdserialize.cpp
index 62506f68928..5766f692b13 100644
--- a/indra/llcommon/llsdserialize.cpp
+++ b/indra/llcommon/llsdserialize.cpp
@@ -2238,7 +2238,7 @@ LLUZipHelper::EZipRresult LLUZipHelper::unzip_llsd(LLSD& data, const U8* in, S32
 	llssize cur_size = 0;
 	z_stream strm;
 
-	constexpr U32 CHUNK = 1024 * 512;
+	constexpr U32 CHUNK = 1024 * 1024;
 
 	static thread_local std::unique_ptr<U8[]> out;
 	if (!out)
-- 
GitLab