On Wed, Nov 17, 2010 at 8:47 PM, Hardy Griech <nt...@mardys.de> wrote:
> Hi (Nikos),
> after extending mod_gnutls to allow TLS-PSK and some testing, I'm
> wondering if all the gnutls_allocate_* need a gnutls_free_* to avoid
> memory leaks.

They need but I think that the _allocate_ functions are in a global state,
and thus requiring free when apache exits.

> Actually there must be a leak in mod_gnutls, because my test client
> which continuously connects / transfers / disconnects makes my server
> (with mod_gnutls) consume more and more memory.

Can you use valgrind to trace the leak?

regards,
Nikos
_______________________________________________
Modules mailing list
Modules@lists.outoforder.cc
http://lists.outoforder.cc/mailman/listinfo/modules

Reply via email to