aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-10 15:59:36 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-10 17:05:29 +0300
commitbe045a04763cabf3c3416427499060a3bf68fd1e (patch)
treef907ce6fdc8a0984dbff01ad1fba07a93cad3d7a /src/microhttpd/internal.h
parent6d522346279df691b52a654dc1d1b815feae58e2 (diff)
downloadlibmicrohttpd-be045a04763cabf3c3416427499060a3bf68fd1e.tar.gz
libmicrohttpd-be045a04763cabf3c3416427499060a3bf68fd1e.zip
Prevent accidental double-cleanup
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r--src/microhttpd/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 77679aaf..2858a347 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -808,6 +808,12 @@ struct MHD_Connection
808 */ 808 */
809 int in_idle; 809 int in_idle;
810 810
811 /**
812 * Are we currently inside the "idle" handler (to avoid recursively
813 * invoking it).
814 */
815 bool in_cleanup;
816
811#ifdef EPOLL_SUPPORT 817#ifdef EPOLL_SUPPORT
812 /** 818 /**
813 * What is the state of this socket in relation to epoll? 819 * What is the state of this socket in relation to epoll?