gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28449 - libmicrohttpd/src/examples


From: gnunet
Subject: [GNUnet-SVN] r28449 - libmicrohttpd/src/examples
Date: Thu, 8 Aug 2013 07:55:26 +0200

Author: grothoff
Date: 2013-08-08 07:55:25 +0200 (Thu, 08 Aug 2013)
New Revision: 28449

Modified:
   libmicrohttpd/src/examples/benchmark.c
Log:
-allow benchmark to be run without connection close

Modified: libmicrohttpd/src/examples/benchmark.c
===================================================================
--- libmicrohttpd/src/examples/benchmark.c      2013-08-08 05:54:01 UTC (rev 
28448)
+++ libmicrohttpd/src/examples/benchmark.c      2013-08-08 05:55:25 UTC (rev 
28449)
@@ -122,9 +122,11 @@
   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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]