[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26697 - in libmicrohttpd: . src/examples src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26697 - in libmicrohttpd: . src/examples src/include |
Date: |
Sun, 31 Mar 2013 20:06:37 +0200 |
Author: grothoff
Date: 2013-03-31 20:06:37 +0200 (Sun, 31 Mar 2013)
New Revision: 26697
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/src/examples/demo.c
libmicrohttpd/src/include/microhttpd.h
Log:
bump, changelog
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2013-03-31 18:03:48 UTC (rev 26696)
+++ libmicrohttpd/ChangeLog 2013-03-31 18:06:37 UTC (rev 26697)
@@ -1,3 +1,13 @@
+Sun Mar 31 20:03:48 CEST 2013
+ Performance improvements, updated documentation.
+ Make better use of available memory pool memory for
+ reading (especially important for large POST uploads);
+ improve post processor speed by internally adjusting the
+ buffer size by 4 bytes to ensure "round" IO sizes given
+ a "round" post processor buffer size argument. Note
+ that applications that previously added 4 bytes to the
+ post processor buffer size might now perform worse. -CG
+
Fri Mar 29 16:44:29 CET 2013
Renaming testcases to consistenly begin with test_;
Changing build system to build examples in doc/.
Modified: libmicrohttpd/src/examples/demo.c
===================================================================
--- libmicrohttpd/src/examples/demo.c 2013-03-31 18:03:48 UTC (rev 26696)
+++ libmicrohttpd/src/examples/demo.c 2013-03-31 18:06:37 UTC (rev 26697)
@@ -226,8 +226,6 @@
fprintf (stderr, "No filename, aborting upload\n");
return MHD_NO; /* no filename, error */
}
- fprintf (stderr, "Got %u bytes of upload data for %s\n",
- (unsigned int) size, filename);
if (-1 == uc->fd)
{
uc->fd = open (filename,
@@ -247,6 +245,10 @@
return MHD_NO;
}
}
+ else if (0 == size)
+ sleep (1);
+
+
if ( (0 != size) &&
(size != write (uc->fd, data, size)) )
{
Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h 2013-03-31 18:03:48 UTC (rev
26696)
+++ libmicrohttpd/src/include/microhttpd.h 2013-03-31 18:06:37 UTC (rev
26697)
@@ -106,7 +106,7 @@
/**
* Current version of the library.
*/
-#define MHD_VERSION 0x00092000
+#define MHD_VERSION 0x00092001
/**
* MHD-internal return code for "YES".
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26697 - in libmicrohttpd: . src/examples src/include,
gnunet <=