Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_output.c @ 8948:19e063e955bf quic
QUIC: renamed buffer-related functions.
ngx_quic_alloc_buf() -> ngx_quic_alloc_chain(),
ngx_quic_free_bufs() -> ngx_quic_free_chain(),
ngx_quic_trim_bufs() -> ngx_quic_trim_chain()
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 16 Dec 2021 17:06:35 +0300 |
parents | e72db9162180 |
children | 1e2f4e9c8195 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_output.c Fri Dec 24 18:17:23 2021 +0300 +++ b/src/event/quic/ngx_event_quic_output.c Thu Dec 16 17:06:35 2021 +0300 @@ -1121,7 +1121,7 @@ left = b ? b->end - b->last : 0; if (left < len) { - cl = ngx_quic_alloc_buf(c); + cl = ngx_quic_alloc_chain(c); if (cl == NULL) { return NGX_ERROR; }