aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_daemon.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-07 23:15:42 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-08 00:54:59 +0300
commita48ca85fb74479a8a81e137138a30fab58f3eb1e (patch)
tree9089a6392d1c21466259a46f7139c18644274e5a /src/microhttpd/test_daemon.c
parent4e4a1ce2bb9f6cd1d38fdc5f169d8956afab70c0 (diff)
downloadlibmicrohttpd-a48ca85fb74479a8a81e137138a30fab58f3eb1e.tar.gz
libmicrohttpd-a48ca85fb74479a8a81e137138a30fab58f3eb1e.zip
Renamed daemon flags:
MHD_USE_SELECT_INTERNALLY -> MHD_USE_INTERNAL_POLLING_THREAD MHD_USE_POLL_INTERNALLY -> MHD_USE_POLL_INTERNAL_THREAD MHD_USE_EPOLL_INTERNALLY -> MHD_USE_EPOLL_INTERNAL_THREAD
Diffstat (limited to 'src/microhttpd/test_daemon.c')
-rw-r--r--src/microhttpd/test_daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/test_daemon.c b/src/microhttpd/test_daemon.c
index ca1f71bc..4692085e 100644
--- a/src/microhttpd/test_daemon.c
+++ b/src/microhttpd/test_daemon.c
@@ -75,7 +75,7 @@ testStartStop ()
75{ 75{
76 struct MHD_Daemon *d; 76 struct MHD_Daemon *d;
77 77
78 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG, 78 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_DEBUG,
79 1080, 79 1080,
80 &apc_nothing, 80 &apc_nothing,
81 NULL, &ahc_nothing, NULL, MHD_OPTION_END); 81 NULL, &ahc_nothing, NULL, MHD_OPTION_END);
@@ -124,7 +124,7 @@ static int
124testThread () 124testThread ()
125{ 125{
126 struct MHD_Daemon *d; 126 struct MHD_Daemon *d;
127 d = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_SELECT_INTERNALLY, 127 d = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_INTERNAL_POLLING_THREAD,
128 1082, 128 1082,
129 &apc_all, NULL, &ahc_nothing, NULL, MHD_OPTION_END); 129 &apc_all, NULL, &ahc_nothing, NULL, MHD_OPTION_END);
130 130