libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Segfault after MHD_quiesce_daemon()


From: Markus Doppelbauer
Subject: Re: [libmicrohttpd] Segfault after MHD_quiesce_daemon()
Date: Thu, 16 Jul 2015 22:13:11 +0200

Hello,

Maybe simply nullify "pos->pool" after MHD_pool_destroy()"?
Should avoid this double-free().

Or is there a chance to get the number of open connections
without calling "MHD_cleanup_connections()"?

Thanks a lot
Markus


            }
        }
        MHD_pool_destroy (pos->pool);
+       pos->pool = NULL;
  #if HTTPS_SUPPORT
        if (NULL != pos->tls_session)
        gnutls_deinit (pos->tls_session);


reply via email to

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