mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 17:32:03 -04:00
MEDIUM: mux-h2: register mux for both HTTP and HTX modes
The H2 mux will now be called for both HTTP and HTX modes. For now the data transferr functions are not HTX-aware so this will lead to problems if used as-is but it's convenient for development and debugging.
This commit is contained in:
parent
6deb4129de
commit
5ae9600950
1 changed files with 1 additions and 1 deletions
|
|
@ -3826,7 +3826,7 @@ static const struct mux_ops h2_ops = {
|
|||
|
||||
/* PROTO selection : this mux registers PROTO token "h2" */
|
||||
static struct mux_proto_list mux_proto_h2 =
|
||||
{ .token = IST("h2"), .mode = PROTO_MODE_HTTP, .side = PROTO_SIDE_FE, .mux = &h2_ops };
|
||||
{ .token = IST("h2"), .mode = PROTO_MODE_HTTP | PROTO_MODE_HTX, .side = PROTO_SIDE_FE, .mux = &h2_ops };
|
||||
|
||||
INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue