On 2/10/19 10:45 PM, silvioprog wrote:
> 
> This is the example (now it contains some error handling). Feel
> absolutely free to change it if you find something that could be
> improved, and let me know if it could be useful and distributed in the
> "src/examples/":

Sure, except for one thing: your clean up is not clean: on the "error:"
path, you do not "free(holder)", and on some of the "return MHD_NO"
paths you leak the entire response object.

If you fix those minor nitpicks, this should make a nice example.

Thanks & happy hacking!

-Christian

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to