diff 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
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_transport.h
+++ b/src/event/quic/ngx_event_quic_transport.h
@@ -334,6 +334,7 @@ typedef struct {
     unsigned                                    decrypted:1;
     unsigned                                    validated:1;
     unsigned                                    retried:1;
+    unsigned                                    first:1;
 } ngx_quic_header_t;