Hello,
Sometimes I get some segfaults - after calling "MHD_quiesce_daemon()".
My setup:
MHD with epoll parses requests from a http-socket - and fills a queue.
A worker thread takes the requests from the queue and fills the buffer.
After 'quiesce()' the worker threads checks on every requests if th
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);
+
Hello,
Maybe simply nullify "pos->pool" after free()?
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);