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
+++ b/src/event/quic/ngx_event_quic_output.c
@@ -1121,7 +1121,7 @@ ngx_quic_send_ack(ngx_connection_t *c, n
         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;
             }