aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-03-31 18:06:37 +0000
committerChristian Grothoff <christian@grothoff.org>2013-03-31 18:06:37 +0000
commit5b45f52e777fafb65fe9e4a53d202e38e3accdc9 (patch)
treec90d59789b6aa64ae7233893b02832be0359b619
parentb0fcfe2b6e2f4c2be54759c92a08222adb986b38 (diff)
downloadlibmicrohttpd-5b45f52e777fafb65fe9e4a53d202e38e3accdc9.tar.gz
libmicrohttpd-5b45f52e777fafb65fe9e4a53d202e38e3accdc9.zip
bump, changelog
-rw-r--r--ChangeLog10
-rw-r--r--src/examples/demo.c6
-rw-r--r--src/include/microhttpd.h2
3 files changed, 15 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a888bc23..12edcf68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
1Sun Mar 31 20:03:48 CEST 2013
2 Performance improvements, updated documentation.
3 Make better use of available memory pool memory for
4 reading (especially important for large POST uploads);
5 improve post processor speed by internally adjusting the
6 buffer size by 4 bytes to ensure "round" IO sizes given
7 a "round" post processor buffer size argument. Note
8 that applications that previously added 4 bytes to the
9 post processor buffer size might now perform worse. -CG
10
1Fri Mar 29 16:44:29 CET 2013 11Fri Mar 29 16:44:29 CET 2013
2 Renaming testcases to consistenly begin with test_; 12 Renaming testcases to consistenly begin with test_;
3 Changing build system to build examples in doc/. 13 Changing build system to build examples in doc/.
diff --git a/src/examples/demo.c b/src/examples/demo.c
index 32c0294d..0a600519 100644
--- a/src/examples/demo.c
+++ b/src/examples/demo.c
@@ -226,8 +226,6 @@ process_upload_data (void *cls,
226 fprintf (stderr, "No filename, aborting upload\n"); 226 fprintf (stderr, "No filename, aborting upload\n");
227 return MHD_NO; /* no filename, error */ 227 return MHD_NO; /* no filename, error */
228 } 228 }
229 fprintf (stderr, "Got %u bytes of upload data for %s\n",
230 (unsigned int) size, filename);
231 if (-1 == uc->fd) 229 if (-1 == uc->fd)
232 { 230 {
233 uc->fd = open (filename, 231 uc->fd = open (filename,
@@ -247,6 +245,10 @@ process_upload_data (void *cls,
247 return MHD_NO; 245 return MHD_NO;
248 } 246 }
249 } 247 }
248 else if (0 == size)
249 sleep (1);
250
251
250 if ( (0 != size) && 252 if ( (0 != size) &&
251 (size != write (uc->fd, data, size)) ) 253 (size != write (uc->fd, data, size)) )
252 { 254 {
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 44180c9b..3d406c2e 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -106,7 +106,7 @@ extern "C"
106/** 106/**
107 * Current version of the library. 107 * Current version of the library.
108 */ 108 */
109#define MHD_VERSION 0x00092000 109#define MHD_VERSION 0x00092001
110 110
111/** 111/**
112 * MHD-internal return code for "YES". 112 * MHD-internal return code for "YES".