read only one message per connection

This commit is contained in:
Theis Pieter Hollebeek 2024-11-20 14:39:23 +01:00
parent 0b9d7c7d8a
commit ce91126cb1

View File

@ -60,6 +60,7 @@ auto slige_rpc::RpcServer<Functor>::listen() -> Res<Unit>
auto writer = BufferedWriter(client); auto writer = BufferedWriter(client);
this->functor(req, writer); this->functor(req, writer);
message.clear(); message.clear();
break;
} }
} }
} }