Added more logging around the base task ops.
Build and Test Module / build-and-test (push) Successful in 10s Details
Build and Test Module / integration-tests (push) Successful in 16s Details

This commit is contained in:
Andrew Lalis 2025-08-09 10:59:22 -04:00
parent febce5eb8d
commit 5e79fba1b4
1 changed files with 3 additions and 0 deletions

View File

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