mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-26 04:09:30 +03:00
-fixing #2818
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
Thu Mar 7 10:13:08 CET 2013
|
||||
Fix bug in postprocessor URL parser (#2818). -jgresula
|
||||
|
||||
Mon Mar 4 13:45:35 CET 2013
|
||||
Fix dropping of SSL connections if uptime is less than
|
||||
MHD_OPTION_CONNECTION_TIMEOUT due to integer underflow (#2802). -greed
|
||||
|
||||
@@ -65,7 +65,8 @@ check_PROGRAMS = \
|
||||
if HAVE_POSTPROCESSOR
|
||||
check_PROGRAMS += \
|
||||
postprocessor_test \
|
||||
postprocessor_large_test
|
||||
postprocessor_large_test \
|
||||
test_postprocessor_amp
|
||||
endif
|
||||
|
||||
TESTS = $(check_PROGRAMS)
|
||||
@@ -80,6 +81,11 @@ postprocessor_test_SOURCES = \
|
||||
postprocessor_test_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
test_postprocessor_amp_SOURCES = \
|
||||
test_postprocessor_amp.c
|
||||
test_postprocessor_amp_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
postprocessor_large_test_SOURCES = \
|
||||
postprocessor_large_test.c
|
||||
postprocessor_large_test_LDADD = \
|
||||
|
||||
@@ -435,7 +435,7 @@ post_process_urlencoded (struct MHD_PostProcessor *pp,
|
||||
{
|
||||
pp->state = PP_ExpectNewLine;
|
||||
}
|
||||
else
|
||||
else if (post_data[poff] == '&')
|
||||
{
|
||||
poff++; /* skip '&' */
|
||||
pp->state = PP_Init;
|
||||
|
||||
Reference in New Issue
Block a user