aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/daemon_poll.c')
-rw-r--r--src/lib/daemon_poll.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/daemon_poll.c b/src/lib/daemon_poll.c
index 92093652..ba061729 100644
--- a/src/lib/daemon_poll.c
+++ b/src/lib/daemon_poll.c
@@ -23,6 +23,7 @@
23 */ 23 */
24#include "internal.h" 24#include "internal.h"
25#include "daemon_poll.h" 25#include "daemon_poll.h"
26#include "request_resume.h"
26 27
27#ifdef HAVE_POLL 28#ifdef HAVE_POLL
28 29
@@ -143,7 +144,7 @@ MHD_daemon_poll_all_ (struct MHD_Daemon *daemon,
143#endif /* HTTPS_SUPPORT && UPGRADE_SUPPORT */ 144#endif /* HTTPS_SUPPORT && UPGRADE_SUPPORT */
144 145
145 if ( (! daemon->disallow_suspend_resume) && 146 if ( (! daemon->disallow_suspend_resume) &&
146 (MHD_YES == resume_suspended_connections (daemon)) ) 147 (MHD_resume_suspended_connections_ (daemon)) )
147 may_block = false; 148 may_block = false;
148 149
149 /* count number of connections and thus determine poll set size */ 150 /* count number of connections and thus determine poll set size */
@@ -385,7 +386,7 @@ MHD_daemon_poll_listen_socket_ (struct MHD_Daemon *daemon,
385 } 386 }
386 387
387 if (! daemon->disallow_suspend_resume) 388 if (! daemon->disallow_suspend_resume)
388 (void) resume_suspended_connections (daemon); 389 (void) MHD_resume_suspended_connections_ (daemon);
389 390
390 if (! may_block) 391 if (! may_block)
391 timeout = 0; 392 timeout = 0;