summaryrefslogtreecommitdiffstats
path: root/include/haproxy/proto_rhttp-t.h
blob: 28e2ff952ec44cefa1445857bf1a9fd42a8768e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _HAPROXY_PROTO_RHTTP_H_T
#define _HAPROXY_PROTO_RHTTP_H_T

/* State for reverse preconnect listener state machine.
 * Used to limit log reporting only on state changes.
 */
enum li_preconn_state {
	LI_PRECONN_ST_STOP, /* pre-connect task inactive */
	LI_PRECONN_ST_INIT, /* pre-connect task bootstrapped */
	LI_PRECONN_ST_ERR,  /* last pre-connect attempt failed */
	LI_PRECONN_ST_FULL, /* pre-connect maxconn reached */
};

#endif /* _HAPROXY_PROTO_RHTTP_H_T */