Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic.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 | fb41e37ddeb0 |
children | 03b40440c13d |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -1085,7 +1085,7 @@ ngx_quic_discard_ctx(ngx_connection_t *c ctx = ngx_quic_get_send_ctx(qc, level); - ngx_quic_free_bufs(c, ctx->crypto); + ngx_quic_free_chain(c, ctx->crypto); while (!ngx_queue_empty(&ctx->sent)) { q = ngx_queue_head(&ctx->sent);