summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-12-16 17:06:35 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-12-16 17:06:35 +0300
commit4d79f94221db9959a4bb3fee6fb3fc21d52266e8 (patch)
tree56f2b8007b679ff3e9281b1d7d6731c4791487df /src/event/quic/ngx_event_quic.c
parentbaea97bc543d68ea2cc3a5dc96363777204f99bd (diff)
downloadnginx-4d79f94221db9959a4bb3fee6fb3fc21d52266e8.tar.gz
nginx-4d79f94221db9959a4bb3fee6fb3fc21d52266e8.tar.bz2
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()
Diffstat (limited to '')
-rw-r--r--src/event/quic/ngx_event_quic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c
index 4a9526d61..f03e9a898 100644
--- 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, enum ssl_encryption_level_t level)
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);