Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_frames.c @ 8779:f52a2b77d406 quic
QUIC: generic buffering for stream input.
Previously each stream had an input buffer. Now memory is allocated as
bytes arrive. Generic buffering mechanism is used for this.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 05 May 2021 17:15:20 +0300 |
parents | 46161c610919 |
children | b3f6ad181df4 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_frames.c Wed May 05 19:32:49 2021 +0300 +++ b/src/event/quic/ngx_event_quic_frames.c Wed May 05 17:15:20 2021 +0300 @@ -13,7 +13,6 @@ #define NGX_QUIC_BUFFER_SIZE 4096 -static void ngx_quic_free_bufs(ngx_connection_t *c, ngx_chain_t *in); static ngx_chain_t *ngx_quic_split_bufs(ngx_connection_t *c, ngx_chain_t *in, size_t len); @@ -84,7 +83,7 @@ } -static void +void ngx_quic_free_bufs(ngx_connection_t *c, ngx_chain_t *in) { ngx_buf_t *b, *shadow;