comparison src/event/quic/ngx_event_quic_connection.h @ 8547:ad046179eb91 quic

QUIC: handle EAGAIN properly on UDP sockets. Previously, the error was ignored leading to unnecessary retransmits. Now, unsent frames are returned into output queue, state is reset, and timer is started for the next send attempt.
author Vladimir Homutov <vl@nginx.com>
date Wed, 28 Jul 2021 17:23:18 +0300
parents 4715f3e669f1
children fe919fd63b0b
comparison
equal deleted inserted replaced
8546:d80365ca678d 8547:ad046179eb91
159 159
160 uint64_t pnum; /* to be sent */ 160 uint64_t pnum; /* to be sent */
161 uint64_t largest_ack; /* received from peer */ 161 uint64_t largest_ack; /* received from peer */
162 uint64_t largest_pn; /* received from peer */ 162 uint64_t largest_pn; /* received from peer */
163 163
164 ngx_queue_t frames; 164 ngx_queue_t frames; /* generated frames */
165 ngx_queue_t sent; 165 ngx_queue_t sending; /* frames assigned to pkt */
166 ngx_queue_t sent; /* frames waiting ACK */
166 167
167 uint64_t pending_ack; /* non sent ack-eliciting */ 168 uint64_t pending_ack; /* non sent ack-eliciting */
168 uint64_t largest_range; 169 uint64_t largest_range;
169 uint64_t first_range; 170 uint64_t first_range;
170 ngx_msec_t largest_received; 171 ngx_msec_t largest_received;