mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-14 19:41:33 +01:00
MEDIUM: stconn: Remove .wake() callback function from app_ops
.wake() callback function is no longer used by endpoints. So it can be removed from the app_ops structure.
This commit is contained in:
parent
949423622f
commit
c2234aebc7
@ -358,7 +358,6 @@ struct sc_app_ops {
|
||||
void (*chk_snd)(struct stconn *); /* chk_snd function, may not be null */
|
||||
void (*abort)(struct stconn *); /* abort function, may not be null */
|
||||
void (*shutdown)(struct stconn *); /* shutdown function, may not be null */
|
||||
int (*wake)(struct stconn *); /* data-layer callback to report activity */
|
||||
char name[8]; /* data layer name, zero-terminated */
|
||||
};
|
||||
|
||||
|
||||
@ -56,7 +56,6 @@ struct sc_app_ops sc_app_conn_ops = {
|
||||
.chk_snd = sc_app_chk_snd_conn,
|
||||
.abort = sc_app_abort_conn,
|
||||
.shutdown= sc_app_shut_conn,
|
||||
.wake = sc_conn_process,
|
||||
.name = "STRM",
|
||||
};
|
||||
|
||||
@ -66,7 +65,6 @@ struct sc_app_ops sc_app_embedded_ops = {
|
||||
.chk_snd = sc_app_chk_snd,
|
||||
.abort = sc_app_abort,
|
||||
.shutdown= sc_app_shut,
|
||||
.wake = NULL, /* may never be used */
|
||||
.name = "NONE", /* may never be used */
|
||||
};
|
||||
|
||||
@ -76,7 +74,6 @@ struct sc_app_ops sc_app_applet_ops = {
|
||||
.chk_snd = sc_app_chk_snd_applet,
|
||||
.abort = sc_app_abort_applet,
|
||||
.shutdown= sc_app_shut_applet,
|
||||
.wake = sc_applet_process,
|
||||
.name = "STRM",
|
||||
};
|
||||
|
||||
@ -86,7 +83,6 @@ struct sc_app_ops sc_app_check_ops = {
|
||||
.chk_snd = NULL,
|
||||
.abort = NULL,
|
||||
.shutdown= NULL,
|
||||
.wake = wake_srv_chk,
|
||||
.name = "CHCK",
|
||||
};
|
||||
|
||||
@ -95,7 +91,6 @@ struct sc_app_ops sc_app_hstream_ops = {
|
||||
.chk_snd = NULL,
|
||||
.abort = NULL,
|
||||
.shutdown= NULL,
|
||||
.wake = hstream_wake,
|
||||
.name = "HTERM",
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user