Stash fd in epoll_event instead of pointer in server

This commit is contained in:
2025-08-21 22:12:13 -04:00
parent 5e8fe590c1
commit 1d86f48d5e
2 changed files with 10 additions and 16 deletions

View File

@@ -118,10 +118,6 @@ private:
std::vector<int> epoll_fds_;
int listen_sockfd_ = -1;
// Unique tags for special events to avoid type confusion in epoll data union
static inline const char listen_socket_tag = 0;
static inline const char shutdown_pipe_tag = 0;
// Private helper methods
void setup_shutdown_pipe();
void setup_signal_handling();