diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-02-16 07:13:34 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-02-16 07:13:34 +0100 |
commit | e101aeb4a9e18d506bd93afc87ea55183128f2cd (patch) | |
tree | d1d53999712b238dfa6cd3d2ddbaf42d74b51c04 /src/lib/daemon_start.c | |
parent | a104a2a46a8d3ef1787f7171295af3acc63c4912 (diff) | |
download | libmicrohttpd-e101aeb4a9e18d506bd93afc87ea55183128f2cd.tar.gz libmicrohttpd-e101aeb4a9e18d506bd93afc87ea55183128f2cd.zip |
implement connection_cleanup.c
Diffstat (limited to 'src/lib/daemon_start.c')
-rw-r--r-- | src/lib/daemon_start.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/daemon_start.c b/src/lib/daemon_start.c index f9838d9f..c6349c6d 100644 --- a/src/lib/daemon_start.c +++ b/src/lib/daemon_start.c | |||
@@ -23,8 +23,11 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "internal.h" | 25 | #include "internal.h" |
26 | #include "connection_cleanup.h" | ||
26 | #include "daemon_close_all_connections.h" | 27 | #include "daemon_close_all_connections.h" |
27 | #include "daemon_select.h" | 28 | #include "daemon_select.h" |
29 | #include "daemon_poll.h" | ||
30 | #include "daemon_epoll.h" | ||
28 | 31 | ||
29 | 32 | ||
30 | /** | 33 | /** |
@@ -635,7 +638,7 @@ MHD_polling_thread (void *cls) | |||
635 | #endif | 638 | #endif |
636 | break; | 639 | break; |
637 | } | 640 | } |
638 | MHD_cleanup_connections (daemon); | 641 | MHD_connection_cleanup_ (daemon); |
639 | } | 642 | } |
640 | /* Resume any pending for resume connections, join | 643 | /* Resume any pending for resume connections, join |
641 | * all connection's threads (if any) and finally cleanup | 644 | * all connection's threads (if any) and finally cleanup |