# HG changeset patch # User Roman Arutyunyan # Date 1612870296 -10800 # Node ID 0b3d70fbba99b58c8287a0c9c94c167e4128ff21 # Parent cef042935003681f3cbd7558bdab1e57fa887261 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 --- 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_q if (f->data) { pos = f->data->buf->pos; - end = f->data->buf->end; + end = f->data->buf->last; } else { pos = NULL;