diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2022-02-14 14:54:34 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2022-02-14 14:54:34 +0300 |
| commit | cac8623697fadd1a42134ca3af8d0c55c9b755b7 (patch) | |
| tree | 764762091b2a91c8bde5aad695041eaf5cc63ad4 /src/event/quic/ngx_event_quic.h | |
| parent | f15459fc466b12e3c1591b4d0a06c113f7a591c5 (diff) | |
| download | nginx-cac8623697fadd1a42134ca3af8d0c55c9b755b7.tar.gz nginx-cac8623697fadd1a42134ca3af8d0c55c9b755b7.tar.bz2 | |
QUIC: optimize insertion at the end of QUIC buffer.
Diffstat (limited to 'src/event/quic/ngx_event_quic.h')
| -rw-r--r-- | src/event/quic/ngx_event_quic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic.h b/src/event/quic/ngx_event_quic.h index 8f6dd7e78..109cd54ef 100644 --- 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; |
