Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic.c @ 8776:901126931bd5 quic
QUIC: consider NEW_CONNECTION_ID a probing frame.
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".
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Thu, 06 May 2021 12:36:14 +0300 |
parents | 4117aa7fa38e |
children | 5186ee5a94b9 |
comparison
equal
deleted
inserted
replaced
8775:6e2c23481abb | 8776:901126931bd5 |
---|---|
1126 switch (frame.type) { | 1126 switch (frame.type) { |
1127 /* probing frames */ | 1127 /* probing frames */ |
1128 case NGX_QUIC_FT_PADDING: | 1128 case NGX_QUIC_FT_PADDING: |
1129 case NGX_QUIC_FT_PATH_CHALLENGE: | 1129 case NGX_QUIC_FT_PATH_CHALLENGE: |
1130 case NGX_QUIC_FT_PATH_RESPONSE: | 1130 case NGX_QUIC_FT_PATH_RESPONSE: |
1131 case NGX_QUIC_FT_NEW_CONNECTION_ID: | |
1131 break; | 1132 break; |
1132 | 1133 |
1133 /* non-probing frames */ | 1134 /* non-probing frames */ |
1134 default: | 1135 default: |
1135 nonprobing = 1; | 1136 nonprobing = 1; |