Add RW locks for event listeners.
Pass the flag MHD_USE_PIPE_FOR_SHUTDOWN to libmicrohttpd and prevent daemons to accept new connections before shutting them down.
Don't calculate buffer length based on strlen but rather store it in the private data.
Use atomic operations to set event flags.
Check if the string is a valid UTF-8 string. If not add a byte string instead.
Prevent multiple calls to conntrack cleanup.
Prevent httpd to answer connections before anything else when stopping.
Fix HTTP POST analyzer with regard to processing incomplete payloads.
Simplify tearing down all the inputs to avoid deadlocks.