Mercurial > hg > nginx-quic
diff src/event/ngx_event_quic_transport.h @ 8076:3afaaaa930ab quic
QUIC: added support for multiple connection IDs.
The peer may issue additional connection IDs up to the limit defined by
transport parameter "active_connection_id_limit", using NEW_CONNECTION_ID
frames, and retire such IDs using RETIRE_CONNECTION_ID frame.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Thu, 03 Sep 2020 13:11:27 +0300 |
parents | fc89d02bdca2 |
children | d0d3fc0697a0 |
line wrap: on
line diff
--- a/src/event/ngx_event_quic_transport.h +++ b/src/event/ngx_event_quic_transport.h @@ -120,6 +120,8 @@ #define NGX_QUIC_CID_LEN_MIN 8 #define NGX_QUIC_CID_LEN_MAX 20 +#define NGX_QUIC_SRT_LEN 16 + typedef struct { uint64_t largest; @@ -139,7 +141,7 @@ typedef struct { uint64_t retire; uint8_t len; u_char cid[NGX_QUIC_CID_LEN_MAX]; - u_char srt[16]; + u_char srt[NGX_QUIC_SRT_LEN]; } ngx_quic_new_conn_id_frame_t;