Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic_frames.h @ 9013:b5656025ddb5 quic
QUIC: eliminated ngx_quic_copy_buf().
Its only call is substituted with QUIC buffer write/read pair.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 14 Feb 2022 14:53:46 +0300 |
parents | 489c2dcb3180 |
children | 3c98fa8fef6f |
comparison
equal
deleted
inserted
replaced
9012:489c2dcb3180 | 9013:b5656025ddb5 |
---|---|
22 void ngx_quic_queue_frame(ngx_quic_connection_t *qc, ngx_quic_frame_t *frame); | 22 void ngx_quic_queue_frame(ngx_quic_connection_t *qc, ngx_quic_frame_t *frame); |
23 ngx_int_t ngx_quic_split_frame(ngx_connection_t *c, ngx_quic_frame_t *f, | 23 ngx_int_t ngx_quic_split_frame(ngx_connection_t *c, ngx_quic_frame_t *f, |
24 size_t len); | 24 size_t len); |
25 | 25 |
26 ngx_chain_t *ngx_quic_alloc_chain(ngx_connection_t *c); | 26 ngx_chain_t *ngx_quic_alloc_chain(ngx_connection_t *c); |
27 ngx_chain_t *ngx_quic_copy_buf(ngx_connection_t *c, u_char *data, | |
28 size_t len); | |
29 void ngx_quic_free_chain(ngx_connection_t *c, ngx_chain_t *in); | 27 void ngx_quic_free_chain(ngx_connection_t *c, ngx_chain_t *in); |
30 | 28 |
31 ngx_chain_t *ngx_quic_read_buffer(ngx_connection_t *c, ngx_quic_buffer_t *qb, | 29 ngx_chain_t *ngx_quic_read_buffer(ngx_connection_t *c, ngx_quic_buffer_t *qb, |
32 uint64_t limit); | 30 uint64_t limit); |
33 ngx_chain_t *ngx_quic_write_buffer(ngx_connection_t *c, ngx_quic_buffer_t *qb, | 31 ngx_chain_t *ngx_quic_write_buffer(ngx_connection_t *c, ngx_quic_buffer_t *qb, |