mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
daemon: fixed delayed notification callback in thread-per-connection mode
This commit is contained in:
@@ -6873,8 +6873,9 @@ MHD_start_daemon_va (unsigned int flags,
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( (NULL != daemon->notify_completed) &&
|
||||
(0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) )
|
||||
if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION))
|
||||
&& ((NULL != daemon->notify_completed)
|
||||
|| (NULL != daemon->notify_connection)) )
|
||||
*pflags |= MHD_USE_ITC; /* requires ITC */
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
||||
Reference in New Issue
Block a user