Hi,
Maybe it is not allowed to call
MHD_get_daemon_info( MHD_DAEMON_INFO_CURRENT_CONNECTIONS )
at any time from any thread? Maybe only from
MHD_NotifyConnectionCallback() ?
Thanks a lot
Markus
Am Samstag, den 18.07.2015, 17:18 +0200 schrieb Markus Doppelbauer:
> Hi,
>
> Sorry - I can't prov
Hi,
Sorry - I can't provide a testcase - I only have the coredumps.
IMHO the problem is, that two threads work in the same critical section
MHD_cleanup_connections()
#1 MHD-Thread from microhttpd/daemon.c:2937 from
MHD_select_thread()
#2 Worker-thread from microhttpd/daemon.c:4630from
MHD
Hi!
I'm sorry, but I still don't even see how the race could happen.
I checked all calls to MHD_pool_destroy, and the respective connection
is always in 1 of 3 disjoint ownership states:
1) never aliased, about to be freed (failures during connection setup)
2) 'active' connection, going down with