From: Amaury Denoyelle Date: Tue, 17 Jun 2025 09:49:04 +0000 (+0200) Subject: CLEANUP: connection: remove unused mux-ops dedicated to QUIC X-Git-Tag: v3.3-dev2~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c807182ec9730acc15da6dd7853625ec74dfcf48;p=thirdparty%2Fhaproxy.git CLEANUP: connection: remove unused mux-ops dedicated to QUIC Remove avail_streams_bidi/avail_streams_uni mux_ops. These callbacks were designed to be specific to QUIC. However, they won't be necessary, as stream layer only cares about bidirectional streams. --- diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h index 62808dfa9..1e95bdd02 100644 --- a/include/haproxy/connection-t.h +++ b/include/haproxy/connection-t.h @@ -449,8 +449,6 @@ struct mux_ops { int (*unsubscribe)(struct stconn *sc, int event_type, struct wait_event *es); /* Unsubscribe from events */ int (*sctl)(struct stconn *sc, enum mux_sctl_type mux_sctl, void *arg); /* Provides information about the mux stream */ int (*avail_streams)(struct connection *conn); /* Returns the number of streams still available for a connection */ - int (*avail_streams_bidi)(struct connection *conn); /* Returns the number of bidirectional streams still available for a connection */ - int (*avail_streams_uni)(struct connection *conn); /* Returns the number of unidirectional streams still available for a connection */ int (*used_streams)(struct connection *conn); /* Returns the number of streams in use on a connection. */ void (*destroy)(void *ctx); /* Let the mux know one of its users left, so it may have to disappear */ int (*ctl)(struct connection *conn, enum mux_ctl_type mux_ctl, void *arg); /* Provides information about the mux connection */