comparison 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
comparison
equal deleted inserted replaced
9013:b5656025ddb5 9014:8d11e2171697
49 49
50 50
51 typedef struct { 51 typedef struct {
52 uint64_t size; 52 uint64_t size;
53 uint64_t offset; 53 uint64_t offset;
54 uint64_t last_offset;
54 ngx_chain_t *chain; 55 ngx_chain_t *chain;
56 ngx_chain_t **last_chain;
55 } ngx_quic_buffer_t; 57 } ngx_quic_buffer_t;
56 58
57 59
58 typedef struct { 60 typedef struct {
59 ngx_ssl_t *ssl; 61 ngx_ssl_t *ssl;