comparison src/event/quic/ngx_event_quic_transport.h @ 8285:0697294f79a4 quic

QUIC: removed redundant "app" flag from ngx_quic_close_frame_t. The flag was introduced to create type-aware CONNECTION_CLOSE frames, and now is replaced with frame type information, directly accessible. Notably, this fixes type logging for received frames in b3d9e57d0f62.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 03 Feb 2021 12:39:41 +0300
parents dffb66fb783b
children 9ed95726b99b
comparison
equal deleted inserted replaced
8284:250974f8f8e7 8285:0697294f79a4
195 195
196 typedef struct { 196 typedef struct {
197 uint64_t error_code; 197 uint64_t error_code;
198 uint64_t frame_type; 198 uint64_t frame_type;
199 ngx_str_t reason; 199 ngx_str_t reason;
200 ngx_uint_t app; /* unsigned app:1; */
201 } ngx_quic_close_frame_t; 200 } ngx_quic_close_frame_t;
202 201
203 202
204 typedef struct { 203 typedef struct {
205 uint64_t id; 204 uint64_t id;