summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2021-04-16 23:03:59 +0300
committerSergey Kandaurov <pluknet@nginx.com>2021-04-16 23:03:59 +0300
commit256db862fd54e51e2334187da383943c81a9f406 (patch)
treece427acc13c9edaa1852e200b15b5aad1755ef02 /src
parentf184bc0a0af74ec160399451a655eac9fb71c490 (diff)
downloadnginx-256db862fd54e51e2334187da383943c81a9f406.tar.gz
nginx-256db862fd54e51e2334187da383943c81a9f406.tar.bz2
QUIC: fixed permitted packet types for PATH_RESPONSE.
PATH_RESPONSE was explicitly forbidden in 0-RTT since at least draft-22, but the Frame Types table was not updated until recently while in IESG evaluation.
Diffstat (limited to 'src')
-rw-r--r--src/event/quic/ngx_event_quic_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_transport.c b/src/event/quic/ngx_event_quic_transport.c
index 0d84546eb..2524223d6 100644
--- a/src/event/quic/ngx_event_quic_transport.c
+++ b/src/event/quic/ngx_event_quic_transport.c
@@ -1137,7 +1137,7 @@ ngx_quic_frame_allowed(ngx_quic_header_t *pkt, ngx_uint_t frame_type)
/* NEW_CONNECTION_ID */ 0x3,
/* RETIRE_CONNECTION_ID */ 0x3,
/* PATH_CHALLENGE */ 0x3,
- /* PATH_RESPONSE */ 0x3,
+ /* PATH_RESPONSE */ 0x1,
/* CONNECTION_CLOSE */ 0xF,
/* CONNECTION_CLOSE2 */ 0x3,
/* HANDSHAKE_DONE */ 0x0, /* only sent by server */