diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2022-02-14 15:27:59 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2022-02-14 15:27:59 +0300 |
| commit | 8b3a050f3b5995631f1a8011916283b9b7424d6b (patch) | |
| tree | e90ed757434e4cb3c1d8310d0ef00861474ac718 /src/event/quic/ngx_event_quic.c | |
| parent | 7c4b4f4d540de7959311ab0f6bfafac5ab46f67b (diff) | |
| download | nginx-8b3a050f3b5995631f1a8011916283b9b7424d6b.tar.gz nginx-8b3a050f3b5995631f1a8011916283b9b7424d6b.tar.bz2 | |
QUIC: ngx_quic_buffer_t object.
The object is used instead of ngx_chain_t pointer for buffer operations like
ngx_quic_write_chain() and ngx_quic_read_chain(). These functions are renamed
to ngx_quic_write_buffer() and ngx_quic_read_buffer().
Diffstat (limited to 'src/event/quic/ngx_event_quic.c')
| -rw-r--r-- | src/event/quic/ngx_event_quic.c | 2 |
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 c98f586b7..8ef559dae 100644 --- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -1077,7 +1077,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_chain(c, ctx->crypto); + ngx_quic_free_buffer(c, &ctx->crypto); while (!ngx_queue_empty(&ctx->sent)) { q = ngx_queue_head(&ctx->sent); |
