commit d77425beee2ebac0ab36a4e1dc3fc6fc375f03f7
parent 7670bd7daab6470176f95dfeb4edf1107700a604
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 8 Aug 2013 05:55:25 +0000
-allow benchmark to be run without connection close
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/examples/benchmark.c b/src/examples/benchmark.c
@@ -122,9 +122,11 @@ main (int argc, char *const *argv)
response = MHD_create_response_from_buffer (strlen (PAGE),
(void *) PAGE,
MHD_RESPMEM_PERSISTENT);
+#if 0
(void) MHD_add_response_header (response,
MHD_HTTP_HEADER_CONNECTION,
"close");
+#endif
d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_SUPPRESS_DATE_NO_CLOCK
#if EPOLL_SUPPORT
| MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_TURBO