From f87631dd0d283ad04eb3873c1a7510a9d1423792 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 29 Sep 2022 09:25:29 +0200 Subject: Format all rpc package responses using `FormatPackageMessageBuffer` to avoid memory copy (#174) When reading upstream, fall back to old rpc response to handle older instances. --- zenhttp/httpshared.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'zenhttp/httpshared.cpp') diff --git a/zenhttp/httpshared.cpp b/zenhttp/httpshared.cpp index 769b5e3f3..2b96f32fc 100644 --- a/zenhttp/httpshared.cpp +++ b/zenhttp/httpshared.cpp @@ -339,6 +339,17 @@ ParsePackageMessage(IoBuffer Payload, std::function IoBuffer { return IoBuffer{Size}; }) { } -- cgit v1.2.3