File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 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+
15Sun Jan 6 21:10:13 CET 2013
26 Enable use of "MHD_create_response_from_callback" with
37 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)
10651065 /* These internal strings need cleaning up since
10661066 the post-processing may have been interrupted
10671067 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 )))
10691071 ret = MHD_NO ;
10701072 else
10711073 ret = MHD_YES ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ extern "C"
106106/**
107107 * Current version of the library.
108108 */
109- #define MHD_VERSION 0x00091801
109+ #define MHD_VERSION 0x00091802
110110
111111/**
112112 * MHD-internal return code for "YES".
You can’t perform that action at this time.
0 commit comments