]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: proto_uxst: add resume method
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 6 Feb 2023 17:54:57 +0000 (18:54 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Feb 2023 14:05:05 +0000 (15:05 +0100)
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.

src/proto_uxst.c

index fd22e95bb213057460ba465e7d417ab4e099d89a..08b8d274712dc5f538095d5c0371753ed0edd3c3 100644 (file)
@@ -57,6 +57,7 @@ struct protocol proto_uxst = {
        .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,