mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-22 09:59:29 -04: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue