File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ Fri Jan 11 23:21:55 CET 2013
2
+ Also return MHD_YES from MHD_destroy_post_processor if
3
+ we did not get '\r\n' in the upload. -CG
4
+
1
5
Sun Jan 6 21:10:13 CET 2013
2
6
Enable use of "MHD_create_response_from_callback" with
3
7
body size of zeor. -CG
Original file line number Diff line number Diff line change @@ -1065,7 +1065,9 @@ MHD_destroy_post_processor (struct MHD_PostProcessor *pp)
1065
1065
/* These internal strings need cleaning up since
1066
1066
the post-processing may have been interrupted
1067
1067
at any stage */
1068
- if ((pp -> xbuf_pos > 0 ) || (pp -> state != PP_Done ))
1068
+ if ((pp -> xbuf_pos > 0 ) ||
1069
+ ( (pp -> state != PP_Done ) &&
1070
+ (pp -> state != PP_ExpectNewLine )))
1069
1071
ret = MHD_NO ;
1070
1072
else
1071
1073
ret = MHD_YES ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ extern "C"
106
106
/**
107
107
* Current version of the library.
108
108
*/
109
- #define MHD_VERSION 0x00091801
109
+ #define MHD_VERSION 0x00091802
110
110
111
111
/**
112
112
* MHD-internal return code for "YES".
You can’t perform that action at this time.
0 commit comments