aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r--src/microhttpd/internal.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 61424ca5..5c5605a7 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -111,7 +111,12 @@ enum MHD_EpollState
111 /** 111 /**
112 * Is this connection currently in the 'eready' EDLL? 112 * Is this connection currently in the 'eready' EDLL?
113 */ 113 */
114 MHD_EPOLL_STATE_IN_EREADY_EDLL = 4 114 MHD_EPOLL_STATE_IN_EREADY_EDLL = 4,
115
116 /**
117 * Is this connection currently in the 'epoll' set?
118 */
119 MHD_EPOLL_STATE_IN_EPOLL_SET = 8
115 120
116 }; 121 };
117 122
@@ -719,6 +724,11 @@ struct MHD_Connection
719 */ 724 */
720 int thread_joined; 725 int thread_joined;
721 726
727 /**
728 * Are we currently inside the "idle" handler (to avoid recursively invoking it).
729 */
730 int in_idle;
731
722#if EPOLL_SUPPORT 732#if EPOLL_SUPPORT
723 /** 733 /**
724 * What is the state of this socket in relation to epoll? 734 * What is the state of this socket in relation to epoll?