From: Jonathan Rajotte Date: Wed, 6 Jun 2018 01:00:28 +0000 (-0400) Subject: Fix: perform relayd socket pair cleanup on control socket error X-Git-Tag: v2.12.0-rc1~804 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=9276e5c88e693249bd31197baecf58310df8167e;hp=9276e5c88e693249bd31197baecf58310df8167e Fix: perform relayd socket pair cleanup on control socket error A reference to the local context for the socket pair is used to "force" an evaluation of the data and metadata streams since we changed the endpoint status. This imitates what is currently done for the data socket. This prevents hitting network timeouts multiple times in a row when an error occurs. For now, there is no mechanism for retry hence "terminating" all communication make sense and prevent unwanted delays on operation. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---