mirror of
https://github.com/nginx/nginx.git
synced 2024-12-12 10:19:00 +08:00
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:
parent
eab61bfc22
commit
56a11126e8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user