fix(analysisd): avoid holding exec_sock_mutex while connecting to the exec queue
Release the mutex around connect_exec_queue() so a thread waiting on the connection cannot stall the rule matching threads that share the socket (Coverity CID 1676619). The descriptor is re-checked after re-acquiring the lock: if another thread reconnected meanwhile, the extra socket is closed and the installed one is used.
J
Jose Luis Carreras Marin committed
a65ad2c364876f13f25cef3bd350ddbff0843015
Parent: a2cb3bb