Mercurial > hg > nginx-quic
comparison src/event/quic/ngx_event_quic_connection.h @ 8645:404de224517e quic
QUIC: limited the total number of frames.
Exceeding 10000 allocated frames is considered a flood.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 13 Oct 2021 14:46:51 +0300 |
parents | 6204120cf37f |
children | 1d7bf9778328 |
comparison
equal
deleted
inserted
replaced
8644:6204120cf37f | 8645:404de224517e |
---|---|
226 | 226 |
227 ngx_queue_t free_frames; | 227 ngx_queue_t free_frames; |
228 ngx_chain_t *free_bufs; | 228 ngx_chain_t *free_bufs; |
229 ngx_buf_t *free_shadow_bufs; | 229 ngx_buf_t *free_shadow_bufs; |
230 | 230 |
231 ngx_uint_t nframes; | |
231 #ifdef NGX_QUIC_DEBUG_ALLOC | 232 #ifdef NGX_QUIC_DEBUG_ALLOC |
232 ngx_uint_t nframes; | |
233 ngx_uint_t nbufs; | 233 ngx_uint_t nbufs; |
234 #endif | 234 #endif |
235 | 235 |
236 ngx_quic_streams_t streams; | 236 ngx_quic_streams_t streams; |
237 ngx_quic_congestion_t congestion; | 237 ngx_quic_congestion_t congestion; |