mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 04:31:49 +02:00
BUG/MINOR: xprt_qstrm: ensure all local TPs are allocated
Complete initialization of xprt_qstrm layer by setting local parameters to zero. This should prevent to emit random values to the peer. No backport needed.
This commit is contained in:
parent
dde5c26eb1
commit
bb016b66c4
@ -272,6 +272,7 @@ static int xprt_qstrm_init(struct connection *conn, void **xprt_ctx)
|
||||
ctx->txbuf = BUF_NULL;
|
||||
|
||||
memset(&ctx->rparams, 0, sizeof(struct quic_transport_params));
|
||||
memset(&ctx->lparams, 0, sizeof(struct quic_transport_params));
|
||||
|
||||
/* TP configuration advertised by us */
|
||||
ctx->lparams.max_idle_timeout = 30;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user