src/backend.c
static int
smp_fetch_srv_conn(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
                   const struct arg *args, struct sample *smp)
{
	smp->flags = SMP_F_VOL_TEST;
	smp->type = SMP_T_UINT;
	smp->data.uint = args->data.srv->cur_sess;
	return 1;
}
/* set temp integer to the number of concurrent connections on the server in the backend.
 * Accepts exactly 1 argument. Argument is a server, other types will lead to
 * undefined behaviour.
 */
set temp integer to the number of concurrent connections on the server in the backend.
Accepts exactly 1 argument. Argument is a server, other types will lead to
undefined behaviour.
set temp integer to the number of concurrent connections on the server in the backend . Accepts exactly 1 argument . Argument is a server other types will lead to undefined behaviour .
static int
smp_fetch_srv_conn(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
                   const struct arg *args, struct sample *smp)
{
	smp->flags = SMP_F_VOL_TEST;
	smp->type = SMP_T_UINT;
	smp->data.uint = args->data.srv->cur_sess;
	return 1;
}
static int smp_fetch_srv_conn ( struct proxy * px , struct session * l4 , void * l7 , unsigned int opt , const struct arg * args , struct sample * smp ) { smp -> flags = SMP_F_VOL_TEST ; smp -> type = SMP_T_UINT ; smp -> data . uint = args -> data . srv -> cur_sess ; return 1 ; }
set temp integer to the number of concurrent connections on the server in the backend.
set temp integer to the number of concurrent connections on the server in the backend .