From: Roman Arutyunyan Date: Tue, 9 Feb 2021 11:31:36 +0000 (+0300) Subject: QUIC: fixed logging ACK frames. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=56a11126e8ce2bc643806a2e1263a512a595fde0;p=nginx.git QUIC: fixed logging ACK frames. Previously, the wrong end pointer was used, which could lead to errors "quic failed to parse ack frame gap". --- diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c index b3a20ecf1..6159e87e1 100644 --- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -464,7 +464,7 @@ ngx_quic_log_frame(ngx_log_t *log, ngx_quic_frame_t *f, ngx_uint_t tx) if (f->data) { pos = f->data->buf->pos; - end = f->data->buf->end; + end = f->data->buf->last; } else { pos = NULL;