libmicrohttpd
[Top][All Lists]
Advanced

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

[libmicrohttpd] Re: Another question


From: Christian Grothoff
Subject: [libmicrohttpd] Re: Another question
Date: Fri, 15 May 2009 14:53:08 -0600
User-agent: KMail/1.11.2 (Linux/2.6.26-1-686; KDE/4.2.2; i686; ; )

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.

Christian

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]