Added more logging

This commit is contained in:
Nate Choe
2022-02-16 23:20:29 -06:00
parent c67dd38bf1
commit f79105f621

View File

@@ -75,6 +75,12 @@ remove:
if (fds[0].revents & POLLIN) { if (fds[0].revents & POLLIN) {
Stream *newstream; Stream *newstream;
{
char log[200];
sprintf(log,
"Thread %d received a connection (it now has %d connections)",
id, connCount);
}
if (connCount >= allocConns) { if (connCount >= allocConns) {
struct pollfd *newfds; struct pollfd *newfds;
Connection *newconns; Connection *newconns;