From: Sergey Kandaurov Date: Fri, 16 Apr 2021 20:03:59 +0000 (+0300) Subject: QUIC: fixed permitted packet types for PATH_RESPONSE. X-Git-Tag: release-1.25.0~4^2~350 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=256db862fd54e51e2334187da383943c81a9f406;p=nginx.git 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. --- 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 */