changeset 8759:515ac3c8435c quic

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.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 16 Apr 2021 23:03:59 +0300
parents 17492dfd4744
children baf9551b4a5b
files src/event/quic/ngx_event_quic_transport.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
          /* 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 */