Thanks, fixed as suggested in SVN 35864 (and yes, very odd that this
wasn't caught by static analysis or other runs with valgrind before).
-Christian
On 06/04/2015 01:22 PM, Andreas Wehrmann wrote:
> Hi!
>
> I was checking a test app in valgrind and much to my surprise it was
> complaining abou
Hi!
I was checking a test app in valgrind and much to my surprise it was
complaining about a memleak in libmicrohttpd.
In check_argument_match() a buffer is allocated using strdup() but freed
nowhere.
I wouldn't have noticed this leak if it wasn't for valgrind because if a URI is
requested wit
On Wed, Jun 3, 2015 at 1:08 AM, Christian Grothoff wrote:
> Well, the easiest way you can do it now is just ask MHD to run in
> 'EPOLL' mode and grab the epoll() FD. Then you can select/poll/epoll on
> the MHD epoll() FD. You won't get detailed information about add/remove
> events from MHD, but
I have a change that seems to work, at least I've tested with http &
https using an external kqueue/kevent event manager.
Christian: do you mind looking over
https://github.com/nomis52/libmicrohttpd/pull/1/files which has the
API & an example program. If you're happy with the approach I'll clean
u