summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_transport.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2021-04-19 11:36:41 +0300
committerVladimir Homutov <vl@nginx.com>2021-04-19 11:36:41 +0300
commitdb4c8fe45f8c609a85b52547891d6ba992c30b4e (patch)
treefa40e58e63b9ba186cfb4afe0a53262563802f71 /src/event/quic/ngx_event_quic_transport.h
parent17eebfea99bb554741a5732ed3a4472399591c5a (diff)
downloadnginx-db4c8fe45f8c609a85b52547891d6ba992c30b4e.tar.gz
nginx-db4c8fe45f8c609a85b52547891d6ba992c30b4e.tar.bz2
QUIC: fixed parsing of unknown frame types.
The ngx_quic_frame_allowed() function only expects known frame types.
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 2cda8088f..9fb621721 100644
--- a/src/event/quic/ngx_event_quic_transport.h
+++ b/src/event/quic/ngx_event_quic_transport.h
@@ -83,6 +83,8 @@
#define NGX_QUIC_FT_CONNECTION_CLOSE_APP 0x1D
#define NGX_QUIC_FT_HANDSHAKE_DONE 0x1E
+#define NGX_QUIC_FT_LAST NGX_QUIC_FT_HANDSHAKE_DONE
+
/* 22.4. QUIC Transport Error Codes Registry */
/* Keep in sync with ngx_quic_errors[] */
#define NGX_QUIC_ERR_NO_ERROR 0x00