MINOR: proto_uxst: add resume method
resume method was not explicitly defined for uxst protocol family.
Here we can safely use the default_resume_listener, just like the uxdg family.
This could be backported up to 2.4.
(cherry picked from commit 9c3214c7b44399cc8e244cbd15534729ba387787)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 2e722d9f9089f3cae109cf4594b715037ca17fc1)
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
(cherry picked from commit 1068ffbb4300266c66c12808945caf43eaa8c607)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 3f7eff7b0730003d170cfb2dc54008cd6fe2d8c5)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/src/proto_uxst.c b/src/proto_uxst.c
index f73faee..1659d27 100644
--- a/src/proto_uxst.c
+++ b/src/proto_uxst.c
@@ -59,6 +59,7 @@
.add = default_add_listener,
.unbind = default_unbind_listener,
.suspend = default_suspend_listener,
+ .resume = default_resume_listener,
.accept_conn = sock_accept_conn,
.ctrl_init = sock_conn_ctrl_init,
.ctrl_close = sock_conn_ctrl_close,