Added more logging around the base task ops.
This commit is contained in:
parent
febce5eb8d
commit
5e79fba1b4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue