From 5f7ba548f17be92561c4cdc17d32f0d308cd4e47 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Fri, 8 Sep 2017 17:13:13 +0300 Subject: [PATCH] Additional clarification about MHD_get_timeout(). --- src/include/microhttpd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 3f47e2f0..39b34500 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h @@ -1819,6 +1819,8 @@ enum MHD_DaemonInfoType /** * Request the file descriptor for the external epoll. * No extra arguments should be passed. + * Waiting on epoll FD must not block longer than value + * returned by #MHD_get_timeout(). */ MHD_DAEMON_INFO_EPOLL_FD_LINUX_ONLY, MHD_DAEMON_INFO_EPOLL_FD = MHD_DAEMON_INFO_EPOLL_FD_LINUX_ONLY,