fixed infinite loop when a client disconnects (remove and clean disconnected clients)

This commit is contained in:
bettercallous
2024-04-09 03:09:14 +00:00
parent 3006bfa5e2
commit 454e32f590
4 changed files with 21 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ class Server {
void addPollfd(int fd, short events, short revents);
void handleClientConnection();
void handleClientData(int fd);
void clientCleanup(int fd);
};
#endif