mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
[MINOR] proxy: add an accept() callback for the application layer
This will be used by the application layer for setting accept callbacks.
This commit is contained in:
parent
35a0994984
commit
f229eb8f8f
@ -257,6 +257,7 @@ struct proxy {
|
|||||||
#endif
|
#endif
|
||||||
int iface_len; /* bind interface name length */
|
int iface_len; /* bind interface name length */
|
||||||
char *iface_name; /* bind interface name or NULL */
|
char *iface_name; /* bind interface name or NULL */
|
||||||
|
int (*accept)(struct session *s); /* application layer's accept() */
|
||||||
struct proxy *next;
|
struct proxy *next;
|
||||||
struct logsrv logsrv1, logsrv2; /* 2 syslog servers */
|
struct logsrv logsrv1, logsrv2; /* 2 syslog servers */
|
||||||
signed char logfac1, logfac2; /* log facility for both servers. -1 = disabled */
|
signed char logfac1, logfac2; /* log facility for both servers. -1 = disabled */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user