summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_transport.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2021-04-14 14:47:37 +0300
committerVladimir Homutov <vl@nginx.com>2021-04-14 14:47:37 +0300
commit232fcba34bb6e64587318f877d25cc3977fe5ac6 (patch)
tree9c1e8ad36897c5f149463694518fa1b4d169327f /src/event/quic/ngx_event_quic_transport.h
parent9495ea7cdabe302d9f2cdb1eeb0192be56b17ff5 (diff)
downloadnginx-232fcba34bb6e64587318f877d25cc3977fe5ac6.tar.gz
nginx-232fcba34bb6e64587318f877d25cc3977fe5ac6.tar.bz2
QUIC: headers cleanup.
The "ngx_event_quic.h" header file now contains only public definitions, used by modules. All internal definitions are moved into the "ngx_event_quic_connection.h" header file.
Diffstat (limited to 'src/event/quic/ngx_event_quic_transport.h')
-rw-r--r--src/event/quic/ngx_event_quic_transport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_transport.h b/src/event/quic/ngx_event_quic_transport.h
index 415bbc75c..2cda8088f 100644
--- a/src/event/quic/ngx_event_quic_transport.h
+++ b/src/event/quic/ngx_event_quic_transport.h
@@ -47,6 +47,8 @@
: (lvl == ssl_encryption_initial) ? "init" \
: (lvl == ssl_encryption_handshake) ? "hs" : "early"
+#define NGX_QUIC_MAX_CID_LEN 20
+#define NGX_QUIC_SERVER_CID_LEN NGX_QUIC_MAX_CID_LEN
/* 12.4. Frames and Frame Types */
#define NGX_QUIC_FT_PADDING 0x00