diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-07 23:15:42 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 00:54:59 +0300 |
commit | a48ca85fb74479a8a81e137138a30fab58f3eb1e (patch) | |
tree | 9089a6392d1c21466259a46f7139c18644274e5a /src/testzzuf | |
parent | 4e4a1ce2bb9f6cd1d38fdc5f169d8956afab70c0 (diff) | |
download | libmicrohttpd-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/testzzuf')
-rw-r--r-- | src/testzzuf/test_get.c | 2 | ||||
-rw-r--r-- | src/testzzuf/test_get_chunked.c | 2 | ||||
-rw-r--r-- | src/testzzuf/test_long_header.c | 4 | ||||
-rw-r--r-- | src/testzzuf/test_post.c | 2 | ||||
-rw-r--r-- | src/testzzuf/test_post_form.c | 2 | ||||
-rw-r--r-- | src/testzzuf/test_put.c | 2 | ||||
-rw-r--r-- | src/testzzuf/test_put_chunked.c | 2 | ||||
-rw-r--r-- | src/testzzuf/test_put_large.c | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/src/testzzuf/test_get.c b/src/testzzuf/test_get.c index 2c0c1a13..62468b2c 100644 --- a/src/testzzuf/test_get.c +++ b/src/testzzuf/test_get.c | |||
@@ -104,7 +104,7 @@ testInternalGet () | |||
104 | cbc.buf = buf; | 104 | cbc.buf = buf; |
105 | cbc.size = 2048; | 105 | cbc.size = 2048; |
106 | cbc.pos = 0; | 106 | cbc.pos = 0; |
107 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 107 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_DEBUG */ , |
108 | 11080, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); | 108 | 11080, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); |
109 | if (d == NULL) | 109 | if (d == NULL) |
110 | return 1; | 110 | return 1; |
diff --git a/src/testzzuf/test_get_chunked.c b/src/testzzuf/test_get_chunked.c index 843bc507..4524f2c4 100644 --- a/src/testzzuf/test_get_chunked.c +++ b/src/testzzuf/test_get_chunked.c | |||
@@ -130,7 +130,7 @@ testInternalGet () | |||
130 | cbc.buf = buf; | 130 | cbc.buf = buf; |
131 | cbc.size = 2048; | 131 | cbc.size = 2048; |
132 | cbc.pos = 0; | 132 | cbc.pos = 0; |
133 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 133 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_DEBUG */ , |
134 | 11080, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); | 134 | 11080, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); |
135 | if (d == NULL) | 135 | if (d == NULL) |
136 | return 1; | 136 | return 1; |
diff --git a/src/testzzuf/test_long_header.c b/src/testzzuf/test_long_header.c index 59125295..f1b05756 100644 --- a/src/testzzuf/test_long_header.c +++ b/src/testzzuf/test_long_header.c | |||
@@ -103,7 +103,7 @@ testLongUrlGet () | |||
103 | cbc.buf = buf; | 103 | cbc.buf = buf; |
104 | cbc.size = 2048; | 104 | cbc.size = 2048; |
105 | cbc.pos = 0; | 105 | cbc.pos = 0; |
106 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 106 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_DEBUG */ , |
107 | 11080, | 107 | 11080, |
108 | &apc_all, | 108 | &apc_all, |
109 | NULL, | 109 | NULL, |
@@ -165,7 +165,7 @@ testLongHeaderGet () | |||
165 | cbc.buf = buf; | 165 | cbc.buf = buf; |
166 | cbc.size = 2048; | 166 | cbc.size = 2048; |
167 | cbc.pos = 0; | 167 | cbc.pos = 0; |
168 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 168 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_DEBUG */ , |
169 | 11080, | 169 | 11080, |
170 | &apc_all, | 170 | &apc_all, |
171 | NULL, | 171 | NULL, |
diff --git a/src/testzzuf/test_post.c b/src/testzzuf/test_post.c index 460f295f..f0dc9632 100644 --- a/src/testzzuf/test_post.c +++ b/src/testzzuf/test_post.c | |||
@@ -157,7 +157,7 @@ testInternalPost () | |||
157 | cbc.buf = buf; | 157 | cbc.buf = buf; |
158 | cbc.size = 2048; | 158 | cbc.size = 2048; |
159 | cbc.pos = 0; | 159 | cbc.pos = 0; |
160 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 160 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_DEBUG */ , |
161 | 11080, NULL, NULL, &ahc_echo, NULL, | 161 | 11080, NULL, NULL, &ahc_echo, NULL, |
162 | MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL, | 162 | MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL, |
163 | MHD_OPTION_END); | 163 | MHD_OPTION_END); |
diff --git a/src/testzzuf/test_post_form.c b/src/testzzuf/test_post_form.c index d110b2c0..3dee2515 100644 --- a/src/testzzuf/test_post_form.c +++ b/src/testzzuf/test_post_form.c | |||
@@ -176,7 +176,7 @@ testInternalPost () | |||
176 | cbc.buf = buf; | 176 | cbc.buf = buf; |
177 | cbc.size = 2048; | 177 | cbc.size = 2048; |
178 | cbc.pos = 0; | 178 | cbc.pos = 0; |
179 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 179 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_DEBUG */ , |
180 | 11080, NULL, NULL, &ahc_echo, NULL, | 180 | 11080, NULL, NULL, &ahc_echo, NULL, |
181 | MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL, | 181 | MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL, |
182 | MHD_OPTION_END); | 182 | MHD_OPTION_END); |
diff --git a/src/testzzuf/test_put.c b/src/testzzuf/test_put.c index 455c7424..6bda2598 100644 --- a/src/testzzuf/test_put.c +++ b/src/testzzuf/test_put.c | |||
@@ -128,7 +128,7 @@ testInternalPut () | |||
128 | cbc.buf = buf; | 128 | cbc.buf = buf; |
129 | cbc.size = 2048; | 129 | cbc.size = 2048; |
130 | cbc.pos = 0; | 130 | cbc.pos = 0; |
131 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 131 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_DEBUG */ , |
132 | 11080, | 132 | 11080, |
133 | NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); | 133 | NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); |
134 | if (d == NULL) | 134 | if (d == NULL) |
diff --git a/src/testzzuf/test_put_chunked.c b/src/testzzuf/test_put_chunked.c index 7dd0f066..ed0a0a65 100644 --- a/src/testzzuf/test_put_chunked.c +++ b/src/testzzuf/test_put_chunked.c | |||
@@ -134,7 +134,7 @@ testInternalPut () | |||
134 | cbc.buf = buf; | 134 | cbc.buf = buf; |
135 | cbc.size = 2048; | 135 | cbc.size = 2048; |
136 | cbc.pos = 0; | 136 | cbc.pos = 0; |
137 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG, | 137 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_DEBUG, |
138 | 11080, | 138 | 11080, |
139 | NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); | 139 | NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); |
140 | if (d == NULL) | 140 | if (d == NULL) |
diff --git a/src/testzzuf/test_put_large.c b/src/testzzuf/test_put_large.c index 4dfea460..f6fd21d2 100644 --- a/src/testzzuf/test_put_large.c +++ b/src/testzzuf/test_put_large.c | |||
@@ -142,7 +142,7 @@ testInternalPut () | |||
142 | cbc.buf = buf; | 142 | cbc.buf = buf; |
143 | cbc.size = 2048; | 143 | cbc.size = 2048; |
144 | cbc.pos = 0; | 144 | cbc.pos = 0; |
145 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 145 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_DEBUG */ , |
146 | 11080, | 146 | 11080, |
147 | NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); | 147 | NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); |
148 | if (d == NULL) | 148 | if (d == NULL) |