QUIC: fixed logging ACK frames.

Previously, the wrong end pointer was used, which could lead to errors
"quic failed to parse ack frame gap".
This commit is contained in:
Roman Arutyunyan 2021-02-09 14:31:36 +03:00
parent eab61bfc22
commit 56a11126e8

View File

@ -464,7 +464,7 @@ ngx_quic_log_frame(ngx_log_t *log, ngx_quic_frame_t *f, ngx_uint_t tx)
if (f->data) { if (f->data) {
pos = f->data->buf->pos; pos = f->data->buf->pos;
end = f->data->buf->end; end = f->data->buf->last;
} else { } else {
pos = NULL; pos = NULL;