comparison src/event/quic/ngx_event_quic_transport.h @ 8912:50d73bf20e73 quic

QUIC: refactored multiple QUIC packets handling. Single UDP datagram may contain multiple QUIC datagrams. In order to facilitate handling of such cases, 'first' flag in the ngx_quic_header_t structure is introduced.
author Vladimir Homutov <vl@nginx.com>
date Mon, 29 Nov 2021 11:49:09 +0300
parents fc8980f01477
children d6ef13c5fd8e
comparison
equal deleted inserted replaced
8911:b09f055daa4e 8912:50d73bf20e73
332 unsigned key_update:1; 332 unsigned key_update:1;
333 unsigned parsed:1; 333 unsigned parsed:1;
334 unsigned decrypted:1; 334 unsigned decrypted:1;
335 unsigned validated:1; 335 unsigned validated:1;
336 unsigned retried:1; 336 unsigned retried:1;
337 unsigned first:1;
337 } ngx_quic_header_t; 338 } ngx_quic_header_t;
338 339
339 340
340 ngx_int_t ngx_quic_parse_packet(ngx_quic_header_t *pkt); 341 ngx_int_t ngx_quic_parse_packet(ngx_quic_header_t *pkt);
341 342