commit 6bd7866d217214e3cbda0f67b5fda8d8020d6669
parent de8217492bec2f08c985fd1a871fe2e6a5b753a6
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 16 Mar 2017 13:39:31 +0300
union MHD_DaemonInfo: added epoll_fd to clearly use with epoll FD
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -3171,12 +3171,16 @@ union MHD_DaemonInfo
size_t mac_key_size;
/**
- * Socket, returned for #MHD_DAEMON_INFO_EPOLL_FD
- * and #MHD_DAEMON_INFO_LISTEN_FD.
+ * Socket, returned for #MHD_DAEMON_INFO_LISTEN_FD.
*/
MHD_socket listen_fd;
/**
+ * epoll FD, returned for #MHD_DAEMON_INFO_EPOLL_FD.
+ */
+ int epoll_fd;
+
+ /**
* Number of active connections, for #MHD_DAEMON_INFO_CURRENT_CONNECTIONS.
*/
unsigned int num_connections;