[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25764 - in libmicrohttpd: . src/daemon src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25764 - in libmicrohttpd: . src/daemon src/include |
Date: |
Fri, 11 Jan 2013 23:34:56 +0100 |
Author: grothoff
Date: 2013-01-11 23:34:56 +0100 (Fri, 11 Jan 2013)
New Revision: 25764
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/src/daemon/postprocessor.c
libmicrohttpd/src/include/microhttpd.h
Log:
return success even without optional \r\n
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2013-01-11 16:53:45 UTC (rev 25763)
+++ libmicrohttpd/ChangeLog 2013-01-11 22:34:56 UTC (rev 25764)
@@ -1,3 +1,7 @@
+Fri Jan 11 23:21:55 CET 2013
+ Also return MHD_YES from MHD_destroy_post_processor if
+ we did not get '\r\n' in the upload. -CG
+
Sun Jan 6 21:10:13 CET 2013
Enable use of "MHD_create_response_from_callback" with
body size of zeor. -CG
Modified: libmicrohttpd/src/daemon/postprocessor.c
===================================================================
--- libmicrohttpd/src/daemon/postprocessor.c 2013-01-11 16:53:45 UTC (rev
25763)
+++ libmicrohttpd/src/daemon/postprocessor.c 2013-01-11 22:34:56 UTC (rev
25764)
@@ -1065,7 +1065,9 @@
/* These internal strings need cleaning up since
the post-processing may have been interrupted
at any stage */
- if ((pp->xbuf_pos > 0) || (pp->state != PP_Done))
+ if ((pp->xbuf_pos > 0) ||
+ ( (pp->state != PP_Done) &&
+ (pp->state != PP_ExpectNewLine)))
ret = MHD_NO;
else
ret = MHD_YES;
Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h 2013-01-11 16:53:45 UTC (rev
25763)
+++ libmicrohttpd/src/include/microhttpd.h 2013-01-11 22:34:56 UTC (rev
25764)
@@ -106,7 +106,7 @@
/**
* Current version of the library.
*/
-#define MHD_VERSION 0x00091801
+#define MHD_VERSION 0x00091802
/**
* MHD-internal return code for "YES".
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25764 - in libmicrohttpd: . src/daemon src/include,
gnunet <=