[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] Re: Another question

From: John Muth
Subject: [libmicrohttpd] Re: Another question
Date: Fri, 15 May 2009 15:15:51 -0700

Bummer. That makes life a little more difficult for me, but I guess I'll live.


On 5/15/09, Christian Grothoff <address@hidden> wrote:
Hi John,

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?
> -John

reply via email to

[Prev in Thread] Current Thread [Next in Thread]