From 5e79fba1b4370ff5e475f3f5d16051661f35a658 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Sat, 9 Aug 2025 10:59:22 -0400 Subject: [PATCH] Added more logging around the base task ops. --- source/handy_http_transport/http1/task_pool.d | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/handy_http_transport/http1/task_pool.d b/source/handy_http_transport/http1/task_pool.d index 2f989dd..9bd0402 100644 --- a/source/handy_http_transport/http1/task_pool.d +++ b/source/handy_http_transport/http1/task_pool.d @@ -27,9 +27,12 @@ class TaskPoolHttp1Transport : Http1Transport { while (super.isRunning) { try { + trace("Waiting to accept a new socket."); Socket clientSocket = serverSocket.accept(); + trace("Accepted a new socket."); auto t = task!handleClient(clientSocket, requestHandler); taskPool().put(t); + trace("Added handleClient() task to the task pool."); } catch (SocketAcceptException e) { warn("Failed to accept socket connection.", e); }