summaryrefslogtreecommitdiff
path: root/src/microhttpd/test_upgrade_ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_upgrade_ssl.c')
-rw-r--r--src/microhttpd/test_upgrade_ssl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/test_upgrade_ssl.c b/src/microhttpd/test_upgrade_ssl.c
index a72fad6d..3aa55d1a 100644
--- a/src/microhttpd/test_upgrade_ssl.c
+++ b/src/microhttpd/test_upgrade_ssl.c
@@ -139,7 +139,7 @@ test_upgrade (int flags,
done = 0;
- d = MHD_start_daemon (flags | MHD_USE_DEBUG | MHD_USE_SUSPEND_RESUME |MHD_USE_TLS,
+ d = MHD_start_daemon (flags | MHD_USE_DEBUG | MHD_ALLOW_UPGRADE | MHD_USE_TLS,
1080,
NULL, NULL,
&ahc_upgrade, NULL,
@@ -198,7 +198,7 @@ main (int argc,
error_count += test_upgrade (0,
0);
#ifdef EPOLL_SUPPORT
- error_count += test_upgrade (MHD_USE_TLS_EPOLL_UPGRADE,
+ error_count += test_upgrade (MHD_USE_EPOLL | MHD_USE_TLS,
0);
#endif
@@ -221,10 +221,10 @@ main (int argc,
#endif
#ifdef EPOLL_SUPPORT
error_count += test_upgrade (MHD_USE_EPOLL_INTERNALLY |
- MHD_USE_TLS_EPOLL_UPGRADE,
+ MHD_USE_TLS,
0);
error_count += test_upgrade (MHD_USE_EPOLL_INTERNALLY |
- MHD_USE_TLS_EPOLL_UPGRADE,
+ MHD_USE_TLS,
2);
#endif
/* report result */