[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36504 - libmicrohttpd-docs/WWW
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36504 - libmicrohttpd-docs/WWW |
Date: |
Wed, 14 Oct 2015 19:20:04 +0200 |
Author: grothoff
Date: 2015-10-14 19:20:04 +0200 (Wed, 14 Oct 2015)
New Revision: 36504
Modified:
libmicrohttpd-docs/WWW/index.html
Log:
use modern API in example
Modified: libmicrohttpd-docs/WWW/index.html
===================================================================
--- libmicrohttpd-docs/WWW/index.html 2015-10-14 14:55:42 UTC (rev 36503)
+++ libmicrohttpd-docs/WWW/index.html 2015-10-14 17:20:04 UTC (rev 36504)
@@ -38,8 +38,8 @@
<meta name="robots" content="index,follow">
<meta name="revisit-after" content="28 days">
<meta name="publisher" content="Christian Grothoff">
-<meta name="date" content="2014-09-4">
-<meta name="rights" content="(C) 2007-2014 by Christian Grothoff>";
+<meta name="date" content="2015-10-4">
+<meta name="rights" content="(C) 2007-2015 by Christian Grothoff>";
<meta http-equiv="expires" content="43200">
<!--#include virtual="/server/banner.html" -->
@@ -280,10 +280,9 @@
if (0 != *upload_data_size)
return MHD_NO; /* upload data in a GET!? */
*ptr = NULL; /* clear context pointer */
- response = MHD_create_response_from_data(strlen(page),
- (void*) page,
- MHD_NO,
- MHD_NO);
+ response = MHD_create_response_from_buffer (strlen(page),
+ (void*) page,
+ MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_response(connection,
MHD_HTTP_OK,
response);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36504 - libmicrohttpd-docs/WWW,
gnunet <=