mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
MINOR: quic: Add a pool for the QUIC TLS encryption levels
Very simple patch to define and declare a pool for the QUIC TLS encryptions levels. It will be used to dynamically allocate such objects to be attached to the QUIC connection object (quic_conn struct) and to remove from quic_conn struct the static array of encryption levels (see ->els[]).
This commit is contained in:
parent
7d9f12998d
commit
25a7b15144
@ -53,6 +53,7 @@
|
||||
#define TLS_EXTENSION_QUIC_TRANSPORT_PARAMETERS_DRAFT 0xffa5
|
||||
|
||||
extern struct pool_head *pool_head_quic_pktns;
|
||||
extern struct pool_head *pool_head_quic_enc_level;
|
||||
extern struct pool_head *pool_head_quic_tls_secret;
|
||||
extern struct pool_head *pool_head_quic_tls_iv;
|
||||
extern struct pool_head *pool_head_quic_tls_key;
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <haproxy/quic_conn.h>
|
||||
|
||||
|
||||
DECLARE_POOL(pool_head_quic_enc_level, "quic_enc_level", sizeof(struct quic_enc_level));
|
||||
DECLARE_POOL(pool_head_quic_pktns, "quic_pktns", sizeof(struct quic_pktns));
|
||||
DECLARE_POOL(pool_head_quic_tls_secret, "quic_tls_secret", QUIC_TLS_SECRET_LEN);
|
||||
DECLARE_POOL(pool_head_quic_tls_iv, "quic_tls_iv", QUIC_TLS_IV_LEN);
|
||||
|
Loading…
Reference in New Issue
Block a user