gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r26687 - libmicrohttpd/src/examples
Date: Sun, 31 Mar 2013 00:52:59 +0100

Author: grothoff
Date: 2013-03-31 00:52:59 +0100 (Sun, 31 Mar 2013)
New Revision: 26687

Modified:
   libmicrohttpd/src/examples/demo.c
Log:
-towards a nicer demo

Modified: libmicrohttpd/src/examples/demo.c
===================================================================
--- libmicrohttpd/src/examples/demo.c   2013-03-30 23:45:39 UTC (rev 26686)
+++ libmicrohttpd/src/examples/demo.c   2013-03-30 23:52:59 UTC (rev 26687)
@@ -21,6 +21,11 @@
  * @file demo.c
  * @brief complex demonstration site: upload, index, download
  * @author Christian Grothoff
+ *
+ * TODO:
+ * - even with LARGE memory pool & buffers, uploads proceed at 5000 bytes/call 
(ugh)
+ * - should have a slightly more ambitious upload form & file listing 
(structure!)
+ * - may want to add MIME-types to replies
  */
 #include "platform.h"
 #include <microhttpd.h>
@@ -457,6 +462,7 @@
                         port,
                         NULL, NULL, 
                        &generate_page, NULL, 
+                       MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (1024 * 
1024),
                        MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 8,
                        MHD_OPTION_NOTIFY_COMPLETED, 
&response_completed_callback, NULL,
                        MHD_OPTION_END);




reply via email to

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