diff options
Diffstat (limited to 'src/lib/daemon_select.c')
-rw-r--r-- | src/lib/daemon_select.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/daemon_select.c b/src/lib/daemon_select.c index 5d8a7ecc..1f3b86ad 100644 --- a/src/lib/daemon_select.c +++ b/src/lib/daemon_select.c | |||
@@ -24,6 +24,8 @@ | |||
24 | */ | 24 | */ |
25 | #include "internal.h" | 25 | #include "internal.h" |
26 | #include "daemon_select.h" | 26 | #include "daemon_select.h" |
27 | #include "request_resume.h" | ||
28 | |||
27 | 29 | ||
28 | /** | 30 | /** |
29 | * We defined a macro with the same name as a function we | 31 | * We defined a macro with the same name as a function we |
@@ -595,6 +597,7 @@ enum MHD_StatusCode | |||
595 | MHD_daemon_run_from_select (struct MHD_Daemon *daemon, | 597 | MHD_daemon_run_from_select (struct MHD_Daemon *daemon, |
596 | const fd_set *read_fd_set, | 598 | const fd_set *read_fd_set, |
597 | 599 | ||
600 | |||
598 | const fd_set *write_fd_set, | 601 | const fd_set *write_fd_set, |
599 | const fd_set *except_fd_set) | 602 | const fd_set *except_fd_set) |
600 | { | 603 | { |
@@ -617,7 +620,7 @@ MHD_daemon_run_from_select (struct MHD_Daemon *daemon, | |||
617 | 620 | ||
618 | /* Resuming external connections when using an extern mainloop */ | 621 | /* Resuming external connections when using an extern mainloop */ |
619 | if (! daemon->disallow_suspend_resume) | 622 | if (! daemon->disallow_suspend_resume) |
620 | resume_suspended_connections (daemon); | 623 | (void) MHD_resume_suspended_connections_ (daemon); |
621 | 624 | ||
622 | return internal_run_from_select (daemon, | 625 | return internal_run_from_select (daemon, |
623 | read_fd_set, | 626 | read_fd_set, |
@@ -661,7 +664,7 @@ MHD_daemon_select_ (struct MHD_Daemon *daemon, | |||
661 | maxsock = MHD_INVALID_SOCKET; | 664 | maxsock = MHD_INVALID_SOCKET; |
662 | sc = MHD_SC_OK; | 665 | sc = MHD_SC_OK; |
663 | if ( (! daemon->disallow_suspend_resume) && | 666 | if ( (! daemon->disallow_suspend_resume) && |
664 | (MHD_YES == resume_suspended_connections (daemon)) && | 667 | (MHD_resume_suspended_connections_ (daemon)) && |
665 | (MHD_TM_THREAD_PER_CONNECTION != daemon->threading_model) ) | 668 | (MHD_TM_THREAD_PER_CONNECTION != daemon->threading_model) ) |
666 | may_block = MHD_NO; | 669 | may_block = MHD_NO; |
667 | 670 | ||