diff options
Diffstat (limited to 'doc/microhttpd.texi')
-rw-r--r-- | doc/microhttpd.texi | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi index b0517bc6..bd0c42a7 100644 --- a/doc/microhttpd.texi +++ b/doc/microhttpd.texi | |||
@@ -1025,6 +1025,7 @@ access_handler (void *cls, | |||
1025 | @} | 1025 | @} |
1026 | else | 1026 | else |
1027 | @{ | 1027 | @{ |
1028 | MHD_destroy_post_processor(pp); | ||
1028 | return MHD_queue_response(...); | 1029 | return MHD_queue_response(...); |
1029 | @} | 1030 | @} |
1030 | @} | 1031 | @} |
@@ -1094,8 +1095,19 @@ Return @code{MHD_YES} on success, @code{MHD_NO} on error | |||
1094 | @end deftypefun | 1095 | @end deftypefun |
1095 | 1096 | ||
1096 | 1097 | ||
1097 | @deftypefun void MHD_destroy_post_processor (struct MHD_PostProcessor *pp) | 1098 | @deftypefun int MHD_destroy_post_processor (struct MHD_PostProcessor *pp) |
1098 | Release PostProcessor resources. | 1099 | Release PostProcessor resources. After this function is being called, |
1100 | the PostProcessor is guaranteed to no longer call its iterator. There | ||
1101 | is no special call to the iterator to indicate the end of the post processing | ||
1102 | stream. After destroying the PostProcessor, the programmer should | ||
1103 | perform any necessary work to complete the processing of the iterator. | ||
1104 | |||
1105 | Return @code{MHD_YES} if processing completed nicely, @code{MHD_NO} | ||
1106 | if there were spurious characters or formatting problems with | ||
1107 | the post request. It is common to ignore the return value | ||
1108 | of this function. | ||
1109 | |||
1110 | |||
1099 | @end deftypefun | 1111 | @end deftypefun |
1100 | 1112 | ||
1101 | 1113 | ||