diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-03-14 23:55:16 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-03-15 00:47:24 +0300 |
commit | 4c219bf5c0d4685cb00fd7ce19dd871348b67833 (patch) | |
tree | 8b9abde50bfac6236af63cd64c72302fb48ab42d /src/include/microhttpd.h | |
parent | aac24654135d0e816900f4b95536fa95d78d49af (diff) | |
download | libmicrohttpd-4c219bf5c0d4685cb00fd7ce19dd871348b67833.tar.gz libmicrohttpd-4c219bf5c0d4685cb00fd7ce19dd871348b67833.zip |
Prevent calling of MHD_get_fdset() and MHD_get_fdset2() for daemons with MHD_USE_INTERNAL_POLLING_THREAD,
maintain backward compatibility
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index c887b714..027e4513 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -2153,6 +2153,9 @@ MHD_add_connection (struct MHD_Daemon *daemon, | |||
2153 | * before calling this function. FD_SETSIZE is assumed | 2153 | * before calling this function. FD_SETSIZE is assumed |
2154 | * to be platform's default. | 2154 | * to be platform's default. |
2155 | * | 2155 | * |
2156 | * This function could be called only for daemon started | ||
2157 | * without MHD_USE_INTERNAL_POLLING_THREAD flag. | ||
2158 | * | ||
2156 | * @param daemon daemon to get sets from | 2159 | * @param daemon daemon to get sets from |
2157 | * @param read_fd_set read set | 2160 | * @param read_fd_set read set |
2158 | * @param write_fd_set write set | 2161 | * @param write_fd_set write set |
@@ -2181,6 +2184,9 @@ MHD_get_fdset (struct MHD_Daemon *daemon, | |||
2181 | * as @a fd_setsize allow usage of larger/smaller than | 2184 | * as @a fd_setsize allow usage of larger/smaller than |
2182 | * platform's default fd_sets. | 2185 | * platform's default fd_sets. |
2183 | * | 2186 | * |
2187 | * This function could be called only for daemon started | ||
2188 | * without MHD_USE_INTERNAL_POLLING_THREAD flag. | ||
2189 | * | ||
2184 | * @param daemon daemon to get sets from | 2190 | * @param daemon daemon to get sets from |
2185 | * @param read_fd_set read set | 2191 | * @param read_fd_set read set |
2186 | * @param write_fd_set write set | 2192 | * @param write_fd_set write set |
@@ -2210,6 +2216,9 @@ MHD_get_fdset2 (struct MHD_Daemon *daemon, | |||
2210 | * before calling this function. Size of fd_set is | 2216 | * before calling this function. Size of fd_set is |
2211 | * determined by current value of FD_SETSIZE. | 2217 | * determined by current value of FD_SETSIZE. |
2212 | * | 2218 | * |
2219 | * This function could be called only for daemon started | ||
2220 | * without MHD_USE_INTERNAL_POLLING_THREAD flag. | ||
2221 | * | ||
2213 | * @param daemon daemon to get sets from | 2222 | * @param daemon daemon to get sets from |
2214 | * @param read_fd_set read set | 2223 | * @param read_fd_set read set |
2215 | * @param write_fd_set write set | 2224 | * @param write_fd_set write set |