From ce91126cb150e12ae0a15f8bbc4eebd754080d10 Mon Sep 17 00:00:00 2001 From: Theis Pieter Hollebeek Date: Wed, 20 Nov 2024 14:39:23 +0100 Subject: [PATCH] read only one message per connection --- runtime/rpc_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/rpc_server.cpp b/runtime/rpc_server.cpp index 9d110da..1194ed8 100644 --- a/runtime/rpc_server.cpp +++ b/runtime/rpc_server.cpp @@ -60,6 +60,7 @@ auto slige_rpc::RpcServer::listen() -> Res auto writer = BufferedWriter(client); this->functor(req, writer); message.clear(); + break; } } }