From e991da5b11aa1727f63441196b5a0747cf02a7ea Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Mon, 9 May 2022 15:07:54 -0400 Subject: [PATCH] Revert plugin message parsing to non-line-based as plugins can generate partial messages --- indra/llplugin/llpluginmessage.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/indra/llplugin/llpluginmessage.cpp b/indra/llplugin/llpluginmessage.cpp index ea0d1a5a360..ba15bbd931e 100644 --- a/indra/llplugin/llpluginmessage.cpp +++ b/indra/llplugin/llpluginmessage.cpp @@ -367,14 +367,7 @@ int LLPluginMessage::parse(const std::string &message) clear(); boost::iostreams::stream<boost::iostreams::array_source> input(message.data(), message.size()); -#if LL_DEBUG - S32 parse_result = LLSDSerialize::fromXML(mMessage, input); -#else - S32 parse_result = LLSDSerialize::fromXMLDocument(mMessage, input); -#endif - - - return (int)parse_result; + return LLSDSerialize::fromXML(mMessage, input); } -- GitLab