Mercurial > hg > nginx-quic
comparison src/event/ngx_event_quic_transport.h @ 7994:f9fbeb4ee0de quic
QUIC: added limit of queued data.
The ngx_quic_queue_frame() functions puts a frame into send queue and
schedules a push timer to actually send data.
The patch adds tracking for data amount in the queue and sends data
immediately if amount of data exceeds limit.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Thu, 16 Jul 2020 15:02:38 +0300 |
parents | 0d1ad81dd65c |
children | 4604e6043657 |
comparison
equal
deleted
inserted
replaced
7993:b276833111cf | 7994:f9fbeb4ee0de |
---|---|
248 enum ssl_encryption_level_t level; | 248 enum ssl_encryption_level_t level; |
249 ngx_queue_t queue; | 249 ngx_queue_t queue; |
250 uint64_t pnum; | 250 uint64_t pnum; |
251 ngx_msec_t first; | 251 ngx_msec_t first; |
252 ngx_msec_t last; | 252 ngx_msec_t last; |
253 ssize_t len; | |
253 ngx_uint_t need_ack; | 254 ngx_uint_t need_ack; |
254 /* unsigned need_ack:1; */ | 255 /* unsigned need_ack:1; */ |
255 | 256 |
256 u_char *data; | 257 u_char *data; |
257 union { | 258 union { |