diff --git a/AUTHORS b/AUTHORS index 9c7fe895..2041e941 100644 --- a/AUTHORS +++ b/AUTHORS @@ -39,6 +39,7 @@ Sven Geggus Steve Wolf Brecht Sanders Jan Janak +Matthew Mundell Documentation contributions also came from: Marco Maggi diff --git a/ChangeLog b/ChangeLog index 9691024a..d30536cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Wed Dec 5 19:22:26 CET 2012 + Fixing parameter loss of POST parameters with IE8 and Chrome + in the PostProcessor as the code failed to properly handle + partial data. -MM + +Fri Nov 9 21:36:46 CET 2012 + Releasing libmicrohttpd 0.9.23. -CG + Thu Nov 8 22:32:59 CET 2012 Ship our own version of tsearch and friends if not provided by platform, so that MHD works nicely on Android. -JJ diff --git a/config.guess b/config.guess index 872b96a1..137bedf2 100644 --- a/config.guess +++ b/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. -timestamp='2012-09-25' +timestamp='2012-08-14' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -306,7 +306,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; - arm*:riscos:*:*|arm*:RISCOS:*:*) + arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) diff --git a/configure.ac b/configure.ac index 1b21321c..95461dfa 100644 --- a/configure.ac +++ b/configure.ac @@ -21,14 +21,14 @@ # # AC_PREREQ(2.57) -AC_INIT([libmicrohttpd], [0.9.22],[libmicrohttpd@gnu.org]) +AC_INIT([libmicrohttpd], [0.9.23],[libmicrohttpd@gnu.org]) AM_INIT_AUTOMAKE([silent-rules]) AM_CONFIG_HEADER([MHD_config.h]) AC_CONFIG_MACRO_DIR([m4]) AH_TOP([#define _GNU_SOURCE 1]) LIB_VERSION_CURRENT=26 -LIB_VERSION_REVISION=1 +LIB_VERSION_REVISION=2 LIB_VERSION_AGE=16 AC_SUBST(LIB_VERSION_CURRENT) AC_SUBST(LIB_VERSION_REVISION) diff --git a/src/daemon/postprocessor.c b/src/daemon/postprocessor.c index 103e3cb7..71823c9b 100644 --- a/src/daemon/postprocessor.c +++ b/src/daemon/postprocessor.c @@ -494,6 +494,7 @@ find_boundary (struct MHD_PostProcessor *pp, { if (pp->buffer_pos == pp->buffer_size) pp->state = PP_Error; /* out of memory */ + ++(*ioffptr); return MHD_NO; /* not enough data */ } if ((0 != memcmp ("--", buf, 2)) || (0 != memcmp (&buf[2], boundary, blen))) @@ -841,12 +842,11 @@ post_process_multipart (struct MHD_PostProcessor *pp, * > anything that appears before the first boundary delimiter * > line or after the last one. */ - if (MHD_NO == find_boundary (pp, - pp->boundary, - pp->blen, - &ioff, - PP_ProcessEntryHeaders, PP_Done)) - ++ioff; + (void) find_boundary (pp, + pp->boundary, + pp->blen, + &ioff, + PP_ProcessEntryHeaders, PP_Done); break; case PP_NextBoundary: if (MHD_NO == find_boundary (pp, diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 3f488538..10a9d32c 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h @@ -106,7 +106,7 @@ extern "C" /** * Current version of the library. */ -#define MHD_VERSION 0x00091600 +#define MHD_VERSION 0x00091700 /** * MHD-internal return code for "YES".