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); }