Fix: don't send consumer error to sessiond in teardown
authorDavid Goulet <dgoulet@efficios.com>
Fri, 23 May 2014 19:04:23 +0000 (15:04 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 23 May 2014 19:04:23 +0000 (15:04 -0400)
commite1905bf3575cfb2662e1f755500954824a102f2a
treebdac241d8a906e11e4199106215ed12b23c6b368
parentc66f2a27dd7d3394775f4a9a942c899c973c3b42
Fix: don't send consumer error to sessiond in teardown

At that point, the control socket has been closed thus the session
daemon is aware that the consumer died. The consumer exit reason is not
even handled by the session daemon.

In the case of the session daemon tearing down, the consumer should
avoid trying to send data on a potentially closed socket.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-consumerd/lttng-consumerd.c
This page took 0.033008 seconds and 4 git commands to generate.