My bad too, I didn't notice the function
'MHD_create_response_from_buffer_with_free_callback()' which is exactly
what I need!
The MHD reference manual doesn't mention it:
https://www.gnu.org/software/libmicrohttpd/manual/libmicrohttpd.html#microhttpd_002dresponse-create

I will update my code accordingly.

Sorry for the noise

/Nicolas

Le 19-07-22 à 10 h 11, Christian Grothoff a écrit :
> Oops, my bad. I forgot we had that API; I've rolled back my patch.
> 
> On 7/22/19 3:38 PM, Evgeny Grin wrote:
>> Don't we have now duplication with
>> 'MHD_create_response_from_buffer_with_free_callback()'?
>>
>> Shouldn't we remove one of implementations?
>>
> 

Reply via email to