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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/microhttpd/test_upgrade_ssl.c b/src/microhttpd/test_upgrade_ssl.c
index 07031cff..a72fad6d 100644
--- a/src/microhttpd/test_upgrade_ssl.c
+++ b/src/microhttpd/test_upgrade_ssl.c
@@ -138,9 +138,8 @@ test_upgrade (int flags,
pid_t pid;
done = 0;
- if (0 == (flags & MHD_USE_THREAD_PER_CONNECTION))
- flags |= MHD_USE_SUSPEND_RESUME;
- d = MHD_start_daemon (flags | MHD_USE_DEBUG | MHD_USE_TLS,
+
+ d = MHD_start_daemon (flags | MHD_USE_DEBUG | MHD_USE_SUSPEND_RESUME |MHD_USE_TLS,
1080,
NULL, NULL,
&ahc_upgrade, NULL,