centreon / centreon-broker

A full-featured monitoring event broker, compatible with MySQL, RRDtool, Graphite and more
Apache License 2.0
37 stars 15 forks source link

fix(tcp): If the connection is closed on the peer side, no need to se… #597

Closed bouda1 closed 3 years ago

bouda1 commented 3 years ago

…nd anything

This attempt can lead to an infinite loop in case of many events to send.

REFS: MON-7373

Description

Please include a short resume of the changes and what is the purpose of PR. Any relevant information should be added to help:

Fixes # (issue)

Type of change

Target serie

How this pull request can be tested ?

Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.

Any relevant details of the configuration to perform the test should be added.

Checklist