From e7c261e5a2b1b141bcf34665fe4f0b4d86c7e8f7 Mon Sep 17 00:00:00 2001 From: Serguey Zefirov Date: Fri, 16 May 2025 12:08:21 +0300 Subject: [PATCH] debug logs --- writeengine/client/we_clients.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/writeengine/client/we_clients.cpp b/writeengine/client/we_clients.cpp index e7008d0b9..3d3814991 100644 --- a/writeengine/client/we_clients.cpp +++ b/writeengine/client/we_clients.cpp @@ -343,6 +343,8 @@ void WEClients::Listen(boost::shared_ptr client, uint32_t co { SBS sbs; + idblog("conn index " << connIndex << ", ip addr " << client->addr2String()); + try { while (Busy()) @@ -350,6 +352,7 @@ void WEClients::Listen(boost::shared_ptr client, uint32_t co // TODO: This call blocks so setting Busy() in another thread doesn't work here... sbs = client->read(); + idblog("received packet. conn index " << connIndex << ", ip addr " << client->addr2String() << ", length " << sbs->length()); if (sbs->length() != 0) { // cout << "adding data to connIndex " << endl;