1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:17:46 +00:00

LibProtocol: Use AllocatingMemoryStream to buffer requests

This commit is contained in:
Tim Schumacher 2023-01-09 12:22:08 +01:00 committed by Jelle Raaijmakers
parent 8f4c67672c
commit 5320ed0fd6
2 changed files with 4 additions and 2 deletions

View file

@ -14,6 +14,7 @@
#include <AK/MemoryStream.h>
#include <AK/RefCounted.h>
#include <AK/WeakPtr.h>
#include <LibCore/MemoryStream.h>
#include <LibCore/Notifier.h>
#include <LibCore/Stream.h>
#include <LibIPC/Forward.h>
@ -72,7 +73,7 @@ private:
bool m_should_buffer_all_input { false };
struct InternalBufferedData {
DuplexMemoryStream payload_stream;
Core::Stream::AllocatingMemoryStream payload_stream;
HashMap<DeprecatedString, DeprecatedString, CaseInsensitiveStringTraits> response_headers;
Optional<u32> response_code;
};