diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 18bfc7a8..fb363caa 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -2910,7 +2910,9 @@ MHD_accept_connection (struct MHD_Daemon *daemon) | |||
2910 | } | 2910 | } |
2911 | else | 2911 | else |
2912 | { | 2912 | { |
2913 | MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex); | ||
2913 | daemon->at_limit = true; | 2914 | daemon->at_limit = true; |
2915 | MHD_mutex_unlock_chk_ (&daemon->cleanup_connection_mutex); | ||
2914 | #ifdef HAVE_MESSAGES | 2916 | #ifdef HAVE_MESSAGES |
2915 | MHD_DLOG (daemon, | 2917 | MHD_DLOG (daemon, |
2916 | _("Hit process or system resource limit at %u connections, temporarily suspending accept(). Consider setting a lower MHD_OPTION_CONNECTION_LIMIT.\n"), | 2918 | _("Hit process or system resource limit at %u connections, temporarily suspending accept(). Consider setting a lower MHD_OPTION_CONNECTION_LIMIT.\n"), |