]> git.kaiwu.me - nginx.git/commitdiff
QUIC: consider NEW_CONNECTION_ID a probing frame.
authorVladimir Homutov <vl@nginx.com>
Thu, 6 May 2021 09:36:14 +0000 (12:36 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 6 May 2021 09:36:14 +0000 (12:36 +0300)
According to quic-transport, 9.1:

   PATH_CHALLENGE, PATH_RESPONSE, NEW_CONNECTION_ID, and PADDING frames
   are "probing frames", and all other frames are "non-probing frames".

src/event/quic/ngx_event_quic.c

index 4088960b72201996692fc21e569307d4962e6235..e19795487eec2833120add80edb4c6905f7bd6c7 100644 (file)
@@ -1128,6 +1128,7 @@ ngx_quic_handle_frames(ngx_connection_t *c, ngx_quic_header_t *pkt)
         case NGX_QUIC_FT_PADDING:
         case NGX_QUIC_FT_PATH_CHALLENGE:
         case NGX_QUIC_FT_PATH_RESPONSE:
+        case NGX_QUIC_FT_NEW_CONNECTION_ID:
             break;
 
         /* non-probing frames */