aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-20 10:49:09 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-20 10:49:09 +0000
commit27171ab944db351385ee8395a419898474b39351 (patch)
treefb82527b1f5302699ccea715ad273ca4b73ca9b7
parent4012f9fcc585851d8bb354d79fca9b538d4507d2 (diff)
downloadlibmicrohttpd-27171ab944db351385ee8395a419898474b39351.tar.gz
libmicrohttpd-27171ab944db351385ee8395a419898474b39351.zip
-nicer for HTTPS
-rw-r--r--src/examples/benchmark_https.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/examples/benchmark_https.c b/src/examples/benchmark_https.c
index e2b55af4..d3f89eac 100644
--- a/src/examples/benchmark_https.c
+++ b/src/examples/benchmark_https.c
@@ -173,10 +173,7 @@ main (int argc, char *const *argv)
173 response = MHD_create_response_from_buffer (strlen (PAGE), 173 response = MHD_create_response_from_buffer (strlen (PAGE),
174 (void *) PAGE, 174 (void *) PAGE,
175 MHD_RESPMEM_PERSISTENT); 175 MHD_RESPMEM_PERSISTENT);
176 (void) MHD_add_response_header (response, 176 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL
177 MHD_HTTP_HEADER_CONNECTION,
178 "close");
179 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_SUPPRESS_DATE_NO_CLOCK | MHD_USE_SSL
180#if EPOLL_SUPPORT 177#if EPOLL_SUPPORT
181 | MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_TURBO 178 | MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_TURBO
182#endif 179#endif