From: Mathieu Desnoyers Date: Sun, 23 Aug 2015 19:52:26 +0000 (-0700) Subject: Fix: relayd live don't send incomplete stream list X-Git-Tag: v2.8.0-rc1~423 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=bddf80e4fe0b4c2706357e2d3a5ddb47f69a0bd7;hp=bddf80e4fe0b4c2706357e2d3a5ddb47f69a0bd7 Fix: relayd live don't send incomplete stream list Sample the "closed" flag with session lock held. Also, if the session connection is closed while we attach to it, reply with HUP, because there are risks of attaching to an incomplete session (e.g. the metadata stream could be already closed). Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---