]> git.kaiwu.me - nginx.git/commit
QUIC: fixed broken token in NEW_TOKEN (ticket #2446).
authorRoman Arutyunyan <arut@nginx.com>
Tue, 31 Jan 2023 11:26:33 +0000 (15:26 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 31 Jan 2023 11:26:33 +0000 (15:26 +0400)
commitb7ccca0eb07ebf5f0a78c21cc45f7ac865dda986
tree5c46b98592d5b5a4053fd5c84b918a008d34a38f
parent341c21c9f6373ceeb0ad2513e14c5cd97e958b28
QUIC: fixed broken token in NEW_TOKEN (ticket #2446).

Previously, since 3550b00d9dc8, the token was allocated on stack, to get
rid of pool usage.  Now the token is allocated by ngx_quic_copy_buffer()
in QUIC buffers, also used for STREAM, CRYPTO and ACK frames.
src/event/quic/ngx_event_quic_frames.c
src/event/quic/ngx_event_quic_output.c
src/event/quic/ngx_event_quic_transport.c
src/event/quic/ngx_event_quic_transport.h