mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-26 04:09:30 +03:00
Fixed regression introduced by dd327c1d13
This commit is contained in:
@@ -2478,6 +2478,7 @@ resume_suspended_connections (struct MHD_Daemon *daemon)
|
||||
if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION))
|
||||
MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex);
|
||||
|
||||
next = daemon->suspended_connections_head;
|
||||
/* Clear the flag *only* if connections will be resumed otherwise
|
||||
it may accidentally clear flag that was set at the same time in
|
||||
other thread (just after 'if (MHD_NO != daemon->resuming)' in
|
||||
|
||||
Reference in New Issue
Block a user