working commit

This commit is contained in:
2026-04-29 11:54:21 +02:00
parent 5e1ca61df9
commit 972096c53d
8 changed files with 149 additions and 86 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ TestSocketHandler::~TestSocketHandler(void) {};
void TestSocketHandler::Handle(int sock) {
logger.Log(std::format("Handler {} start", sock));
const int headerSize = 8;
const int headerSize = rpcHeaderSize;
std::string inRawHeader(headerSize, '\0');
int rsize = 0;
if ((rsize = read(sock, inRawHeader.data(), inRawHeader.size())) < 0) {