fixed infinite loop when a client disconnects (remove and clean disconnected clients)
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user