commit 09d4371e8f141cacd68f27c00b47f54e2706ee1c
parent ed40b21b6823dbf9e6b863c6f4850e1cc3893b92
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 13 Apr 2008 07:09:06 +0000
rel
Diffstat:
6 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,6 @@
+Sun Apr 13 01:06:20 MDT 2008
+ Releasing GNU libmicrohttpd 0.3.0. -CG
+
Sat Apr 12 21:34:26 MDT 2008
Generate an internal server error if the programmer fails
to handle upload data correctly. Tweaked testcases to
diff --git a/configure.ac b/configure.ac
@@ -1,5 +1,5 @@
# This file is part of libmicrohttpd.
-# (C) 2006, 2007 Christian Grothoff (and other contributing authors)
+# (C) 2006, 2007, 2008 Christian Grothoff (and other contributing authors)
#
# libmicrohttpd is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published
@@ -21,8 +21,8 @@
#
#
AC_PREREQ(2.57)
-AC_INIT([libmicrohttpd], [0.2.3],[libmicrohttpd@gnunet.org])
-AM_INIT_AUTOMAKE([libmicrohttpd], [0.2.3])
+AC_INIT([libmicrohttpd], [0.3.0],[libmicrohttpd@gnunet.org])
+AM_INIT_AUTOMAKE([libmicrohttpd], [0.3.0])
AM_CONFIG_HEADER([config.h])
AH_TOP([#define _GNU_SOURCE 1])
diff --git a/doc/Makefile.am b/doc/Makefile.am
@@ -1,5 +1,5 @@
man_MANS = libmicrohttpd.3
-EXTRA_DIST = $(man_MANS)
+EXTRA_DIST = $(man_MANS) Doxyfile
DISTCLEANFILES = microhttpd.cps
info_TEXINFOS = microhttpd.texi
diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi
@@ -442,7 +442,15 @@ incrementally in @var{upload_data};
@item upload_data_size
set initially to the size of the @var{upload_data} provided; this
callback must update this value to the number of bytes @strong{NOT}
-processed;
+processed; unless external select is used, the callback maybe
+required to process at least some data. If the callback fails to
+process data in multi-threaded or internal-select mode and if the
+read-buffer is already at the maximum size that MHD is willing to
+use for reading (about half of the maximum amount of memory allowed
+for the connection), then MHD will abort handling the connection
+and return an internal server error to the client. In order to
+avoid this, clients must be able to process upload data incrementally
+and reduce the value of @code{upload_data_size}.
@item con_cls
reference to a pointer, initially set to @mynull{}, that this callback can
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
@@ -12,7 +12,7 @@ lib_LTLIBRARIES = \
libmicrohttpd.la
libmicrohttpd_la_LDFLAGS = \
- -export-dynamic -version-info 3:2:0 $(retaincommand)
+ -export-dynamic -version-info 4:2:0 $(retaincommand)
libmicrohttpd_la_SOURCES = \
connection.c connection.h \
reason_phrase.c reason_phrase.h \
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -1,6 +1,6 @@
/*
This file is part of libmicrohttpd
- (C) 2006, 2007 Christian Grothoff (and other contributing authors)
+ (C) 2006, 2007, 2008 Christian Grothoff (and other contributing authors)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -84,7 +84,7 @@ extern "C"
/**
* Current version of the library.
*/
-#define MHD_VERSION 0x00020200
+#define MHD_VERSION 0x00030000
/**
* MHD-internal return codes.