Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic_transport.h @ 9072:def8e398d7c5 quic
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 31 Jan 2023 15:26:33 +0400 |
parents | 3550b00d9dc8 |
children | 48691bab4474 |
comparison
equal
deleted
inserted
replaced
9071:3c98fa8fef6f | 9072:def8e398d7c5 |
---|---|
165 } ngx_quic_new_conn_id_frame_t; | 165 } ngx_quic_new_conn_id_frame_t; |
166 | 166 |
167 | 167 |
168 typedef struct { | 168 typedef struct { |
169 uint64_t length; | 169 uint64_t length; |
170 u_char *data; | |
171 } ngx_quic_new_token_frame_t; | 170 } ngx_quic_new_token_frame_t; |
172 | 171 |
173 /* | 172 /* |
174 * common layout for CRYPTO and STREAM frames; | 173 * common layout for CRYPTO and STREAM frames; |
175 * conceptually, CRYPTO frame is also a stream | 174 * conceptually, CRYPTO frame is also a stream |