diff src/event/quic/ngx_event_quic.h @ 9014:8d11e2171697 quic

QUIC: optimize insertion at the end of QUIC buffer.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 14 Feb 2022 14:54:34 +0300
parents f9c788f3f5cc
children 55b38514729b
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic.h
+++ b/src/event/quic/ngx_event_quic.h
@@ -51,7 +51,9 @@ typedef enum {
 typedef struct {
     uint64_t                       size;
     uint64_t                       offset;
+    uint64_t                       last_offset;
     ngx_chain_t                   *chain;
+    ngx_chain_t                  **last_chain;
 } ngx_quic_buffer_t;