|Subject:||[libmicrohttpd] Re: Another question|
|Date:||Fri, 15 May 2009 15:15:51 -0700|
I don't think the order is specified. All that you should be guaranteed is
that both callbacks are invoked; clients should not make any assumptions about
the order in which this happens.
On Friday 15 May 2009 02:29:41 pm John Muth wrote:
> Hi Christian,
> One more question about libmicrohttpd. I registered a
> MHD_OPTION_NOTIFY_COMPLETED handler when I started the daemon and I
> register a reader free callback with MHD_create_response_from_callback.
> When things are correct I see the reader_free_callback
> before the completed callback. However if I mistakenly pass a length of 0
> to MHD_create_response_from_callback I see the completed callback BEFORE
> the reader_free callback. Is this expected, or did I just trip over a bad
> path through the code?
|[Prev in Thread]||Current Thread||[Next in Thread]|