diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index d966ece5..5ce5a457 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -3214,6 +3214,18 @@ MHD_add_connection (struct MHD_Daemon *daemon, | |||
3214 | (daemon->connection_limit <= daemon->connections)) | 3214 | (daemon->connection_limit <= daemon->connections)) |
3215 | MHD_cleanup_connections (daemon); | 3215 | MHD_cleanup_connections (daemon); |
3216 | 3216 | ||
3217 | #ifdef HAVE_MESSAGES | ||
3218 | if ((0 != (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) && | ||
3219 | (0 == (daemon->options & MHD_USE_ITC))) | ||
3220 | { | ||
3221 | MHD_DLOG (daemon, | ||
3222 | _ ("MHD_add_connection() has called for daemon started without" | ||
3223 | " MHD_USE_ITC flag.\nDaemon will not process newly added" | ||
3224 | " connection until any activity occurs in already added" | ||
3225 | " sockets.\n")); | ||
3226 | } | ||
3227 | #endif /* HAVE_MESSAGES */ | ||
3228 | |||
3217 | if (! MHD_socket_nonblocking_ (client_socket)) | 3229 | if (! MHD_socket_nonblocking_ (client_socket)) |
3218 | { | 3230 | { |
3219 | #ifdef HAVE_MESSAGES | 3231 | #ifdef HAVE_MESSAGES |