src/ssl_sock.c
static int
smp_fetch_ssl_fc(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
                 const struct arg *args, struct sample *smp)
{
	smp->type = SMP_T_BOOL;
	smp->data.uint = (l4->si[0].conn->xprt == &ssl_sock);
	return 1;
}
/* boolean, returns true if front conn. transport layer is SSL */
boolean, returns true if front conn. transport layer is SSL
boolean returns true if front conn . transport layer is SSL
static int
smp_fetch_ssl_fc(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
                 const struct arg *args, struct sample *smp)
{
	smp->type = SMP_T_BOOL;
	smp->data.uint = (l4->si[0].conn->xprt == &ssl_sock);
	return 1;
}
static int smp_fetch_ssl_fc ( struct proxy * px , struct session * l4 , void * l7 , unsigned int opt , const struct arg * args , struct sample * smp ) { smp -> type = SMP_T_BOOL ; smp -> data . uint = ( l4 -> si [ 0 ] . conn -> xprt == & ssl_sock ) ; return 1 ; }
boolean, returns true if front conn. transport layer is SSL
boolean returns true if front conn . transport layer is SSL