src/dumpstats.c
static void cli_release_handler(struct stream_interface *si)
{
	if (si->applet.st0 == STAT_CLI_O_SESS && si->conn->xprt_st == STAT_ST_LIST) {
		if (!LIST_ISEMPTY(&si->applet.ctx.sess.bref.users))
			LIST_DEL(&si->applet.ctx.sess.bref.users);
	}
}
/* This is called when the stream interface is closed. For instance, upon an
 * external abort, we won't call the i/o handler anymore so we may need to
 * remove back references to the session currently being dumped.
 */
This is called when the stream interface is closed. For instance, upon an
external abort, we won't call the i/o handler anymore so we may need to
remove back references to the session currently being dumped.
This is called when the stream interface is closed . For instance upon an external abort we won ' t call the i / o handler anymore so we may need to remove back references to the session currently being dumped .
static void cli_release_handler(struct stream_interface *si)
{
	if (si->applet.st0 == STAT_CLI_O_SESS && si->conn->xprt_st == STAT_ST_LIST) {
		if (!LIST_ISEMPTY(&si->applet.ctx.sess.bref.users))
			LIST_DEL(&si->applet.ctx.sess.bref.users);
	}
}
static void cli_release_handler ( struct stream_interface * si ) { if ( si -> applet . st0 == STAT_CLI_O_SESS && si -> conn -> xprt_st == STAT_ST_LIST ) { if ( ! LIST_ISEMPTY ( & si -> applet . ctx . sess . bref . users ) ) LIST_DEL ( & si -> applet . ctx . sess . bref . users ) ; } }
This is called when the stream interface is closed.
This is called when the stream interface is closed .