comparison 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
comparison
equal deleted inserted replaced
8947:6ccf3867959a 8948:19e063e955bf
1083 1083
1084 qc->pto_count = 0; 1084 qc->pto_count = 0;
1085 1085
1086 ctx = ngx_quic_get_send_ctx(qc, level); 1086 ctx = ngx_quic_get_send_ctx(qc, level);
1087 1087
1088 ngx_quic_free_bufs(c, ctx->crypto); 1088 ngx_quic_free_chain(c, ctx->crypto);
1089 1089
1090 while (!ngx_queue_empty(&ctx->sent)) { 1090 while (!ngx_queue_empty(&ctx->sent)) {
1091 q = ngx_queue_head(&ctx->sent); 1091 q = ngx_queue_head(&ctx->sent);
1092 ngx_queue_remove(q); 1092 ngx_queue_remove(q);
1093 1093