diff --git a/include/haproxy/xprt_quic-t.h b/include/haproxy/xprt_quic-t.h index a975b17825..bb7569f525 100644 --- a/include/haproxy/xprt_quic-t.h +++ b/include/haproxy/xprt_quic-t.h @@ -727,11 +727,6 @@ struct quic_conn { /* Used only to reach the tasklet for the I/O handler from this quic_conn object. */ struct connection *conn; - /* Output buffer used during the handshakes. */ - struct { - unsigned char data[QUIC_PACKET_MAXLEN]; - unsigned char *pos; - } obuf; struct { /* The remaining frames to send. */ diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 60051d8385..6e75501cbc 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -4327,9 +4327,6 @@ static struct quic_conn *qc_new_conn(unsigned int version, int ipv4, } qc->mux_state = QC_MUX_NULL; - /* Initialize the output buffer */ - qc->obuf.pos = qc->obuf.data; - icid = new_quic_cid(&qc->cids, qc, 0); if (!icid) { TRACE_PROTO("Could not allocate a new connection ID", QUIC_EV_CONN_INIT, qc);