From f79105f621b95286e9661cc6fe5b0cf8ad2f8fa0 Mon Sep 17 00:00:00 2001 From: Nate Choe Date: Wed, 16 Feb 2022 23:20:29 -0600 Subject: [PATCH] Added more logging --- src/runner.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/runner.c b/src/runner.c index e6d12de..31e3f9d 100644 --- a/src/runner.c +++ b/src/runner.c @@ -75,6 +75,12 @@ remove: if (fds[0].revents & POLLIN) { Stream *newstream; + { + char log[200]; + sprintf(log, +"Thread %d received a connection (it now has %d connections)", + id, connCount); + } if (connCount >= allocConns) { struct pollfd *newfds; Connection *newconns;