With a TCP acceptor (listen mode), child connections were not properly destroyed upon destruction of the base socket. This fixes #3500.
With a TCP acceptor (listen mode), child connections were not
properly destroyed upon destruction of the base socket. This
fixes #3500.

When waiting for clients, the TCP acceptor uses a timeout (200ms)
to release a mutex that is used to prevent concurrent access to the
socket object. Such concurrent access is used when asynchronously
closing the socket when process must shutdown. However, this
timeout was generating a false signal that leaded the process to
consider the socket has erronous and therefore remove it from the
child list. So it never got closed when the acceptor closed ...

git-svn-id: a49aa41e49c69a6ab6ef43f172843a2fef6cb475@1158 7c7d615a-03b3-410d-a316-1135b1bd9499

centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker