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:
Amaury Denoyelle 2026-04-23 17:51:03 +02:00
parent dde5c26eb1
commit bb016b66c4

View File

@ -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;