gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r36878 - libmicrohttpd/src/examples
Date: Thu, 28 Jan 2016 07:06:50 +0100

Author: grothoff
Date: 2016-01-28 07:06:50 +0100 (Thu, 28 Jan 2016)
New Revision: 36878

Modified:
   libmicrohttpd/src/examples/timeout.c
Log:
applying cosmetics patch #4137

Modified: libmicrohttpd/src/examples/timeout.c
===================================================================
--- libmicrohttpd/src/examples/timeout.c        2016-01-27 20:45:46 UTC (rev 
36877)
+++ libmicrohttpd/src/examples/timeout.c        2016-01-28 06:06:50 UTC (rev 
36878)
@@ -14,7 +14,7 @@
                      size_t *upload_data_size,
                      void **con_cls)
 {
-  const char *page = "<html><body>Hello world!</body></html>";
+  const char *page = "<html><body>Hello timeout!</body></html>";
   struct MHD_Response *response;
   int ret;
 
@@ -36,8 +36,7 @@
 {
   struct MHD_Daemon *daemon;
 
-  daemon = MHD_start_daemon(// MHD_USE_SELECT_INTERNALLY |
-                            MHD_USE_THREAD_PER_CONNECTION, // if you comment 
this line, the problem dies
+  daemon = MHD_start_daemon(MHD_USE_THREAD_PER_CONNECTION,
                             PORT, NULL, NULL,
                             &answer_to_connection, NULL,
                             MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 3,




reply via email to

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