mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 09:21:35 -04:00
MINOR: haterm: enable h3 for TCP bindings
Add "h3" as ALPN identifier to be supported by TCP "bind" lines. So, QMUX is transparently enabled for such bindings.
This commit is contained in:
parent
e8c9aabd62
commit
04811943b5
1 changed files with 2 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ void haproxy_init_args(int argc, char **argv)
|
||||||
|
|
||||||
/* SSL/TCP binding */
|
/* SSL/TCP binding */
|
||||||
hbuf_appendf(&fbuf, "\tbind %s:%s shards by-thread ssl "
|
hbuf_appendf(&fbuf, "\tbind %s:%s shards by-thread ssl "
|
||||||
"alpn h2,http1.1,http1.0"
|
"alpn h3,h2,http1.1,http1.0"
|
||||||
" crt " HATERM_RSA_CERT_NAME
|
" crt " HATERM_RSA_CERT_NAME
|
||||||
" crt " HATERM_ECDSA_CERT_NAME "%s%s\n",
|
" crt " HATERM_ECDSA_CERT_NAME "%s%s\n",
|
||||||
ip, port2,
|
ip, port2,
|
||||||
|
|
@ -438,6 +438,7 @@ void haproxy_init_args(int argc, char **argv)
|
||||||
}
|
}
|
||||||
hbuf_appendf(&gbuf, "global\n");
|
hbuf_appendf(&gbuf, "global\n");
|
||||||
hbuf_appendf(&gbuf, "\ttune.memory.hot-size 3145728\n");
|
hbuf_appendf(&gbuf, "\ttune.memory.hot-size 3145728\n");
|
||||||
|
hbuf_appendf(&gbuf, "\texpose-experimental-directives\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* "global" section */
|
/* "global" section */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue