[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 01/04: union MHD_DaemonInfo: added epoll_fd
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 01/04: union MHD_DaemonInfo: added epoll_fd to clearly use with epoll FD |
Date: |
Thu, 16 Mar 2017 15:05:20 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 6bd7866d217214e3cbda0f67b5fda8d8020d6669
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Mar 16 13:39:31 2017 +0300
union MHD_DaemonInfo: added epoll_fd to clearly use with epoll FD
---
src/include/microhttpd.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index d7fc448a..9912427b 100644
--- 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;
--
To stop receiving notification emails like this one, please contact
address@hidden