CLEANUP: quic: No more used handshake output buffer
->obuf quic_conn struct member is no more used.
This commit is contained in:
parent
56f61b663b
commit
57ac3faed7
|
@ -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. */
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue