comparison src/event/quic/ngx_event_quic_transport.h @ 8417:dcc57827098d quic

QUIC: fixed parsing of unknown frame types. The ngx_quic_frame_allowed() function only expects known frame types.
author Vladimir Homutov <vl@nginx.com>
date Mon, 19 Apr 2021 11:36:41 +0300
parents c8bda5e1e662
children 4715f3e669f1
comparison
equal deleted inserted replaced
8416:e29b7508b8b3 8417:dcc57827098d
81 #define NGX_QUIC_FT_PATH_RESPONSE 0x1B 81 #define NGX_QUIC_FT_PATH_RESPONSE 0x1B
82 #define NGX_QUIC_FT_CONNECTION_CLOSE 0x1C 82 #define NGX_QUIC_FT_CONNECTION_CLOSE 0x1C
83 #define NGX_QUIC_FT_CONNECTION_CLOSE_APP 0x1D 83 #define NGX_QUIC_FT_CONNECTION_CLOSE_APP 0x1D
84 #define NGX_QUIC_FT_HANDSHAKE_DONE 0x1E 84 #define NGX_QUIC_FT_HANDSHAKE_DONE 0x1E
85 85
86 #define NGX_QUIC_FT_LAST NGX_QUIC_FT_HANDSHAKE_DONE
87
86 /* 22.4. QUIC Transport Error Codes Registry */ 88 /* 22.4. QUIC Transport Error Codes Registry */
87 /* Keep in sync with ngx_quic_errors[] */ 89 /* Keep in sync with ngx_quic_errors[] */
88 #define NGX_QUIC_ERR_NO_ERROR 0x00 90 #define NGX_QUIC_ERR_NO_ERROR 0x00
89 #define NGX_QUIC_ERR_INTERNAL_ERROR 0x01 91 #define NGX_QUIC_ERR_INTERNAL_ERROR 0x01
90 #define NGX_QUIC_ERR_CONNECTION_REFUSED 0x02 92 #define NGX_QUIC_ERR_CONNECTION_REFUSED 0x02