Added more logging
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user