comparison src/event/quic/ngx_event_quic.c @ 8545:4009f120cad4 quic

QUIC: eliminated stream type from ngx_quic_stream_frame_t. The information about the type is contained in off/len/fin bits. Also, where possible, only the first stream type (0x08) is used for simplicity.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 28 Jul 2021 13:21:47 +0300
parents 7f29db5294bd
children ad046179eb91
comparison
equal deleted inserted replaced
8544:d0ef43a53a51 8545:4009f120cad4
1189 break; 1189 break;
1190 1190
1191 case NGX_QUIC_FT_PING: 1191 case NGX_QUIC_FT_PING:
1192 break; 1192 break;
1193 1193
1194 case NGX_QUIC_FT_STREAM0: 1194 case NGX_QUIC_FT_STREAM:
1195 case NGX_QUIC_FT_STREAM1:
1196 case NGX_QUIC_FT_STREAM2:
1197 case NGX_QUIC_FT_STREAM3:
1198 case NGX_QUIC_FT_STREAM4:
1199 case NGX_QUIC_FT_STREAM5:
1200 case NGX_QUIC_FT_STREAM6:
1201 case NGX_QUIC_FT_STREAM7:
1202 1195
1203 if (ngx_quic_handle_stream_frame(c, pkt, &frame) != NGX_OK) { 1196 if (ngx_quic_handle_stream_frame(c, pkt, &frame) != NGX_OK) {
1204 return NGX_ERROR; 1197 return NGX_ERROR;
1205 } 1198 }
1206 1199