libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] MHD cannot write the entire chunked deflate data (de


From: silvioprog
Subject: Re: [libmicrohttpd] MHD cannot write the entire chunked deflate data (deflate/chunked)
Date: Sun, 10 Feb 2019 19:33:05 -0300

On Sun, Feb 10, 2019 at 7:08 PM Christian Grothoff <address@hidden> wrote:
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

Thanks for the code review! :-)

Indeed, it would generate memory leak. I'm going to fix it and send the refactored example to the MHD trunk.

Thank you very much! (y)

--
Silvio Clécio

reply via email to

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