Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic_transport.h @ 8822: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 | 4009f120cad4 |
children | de7b9af30fc6 |
comparison
equal
deleted
inserted
replaced
8821:d80365ca678d | 8822:ad046179eb91 |
---|---|
271 size_t plen; | 271 size_t plen; |
272 ngx_msec_t first; | 272 ngx_msec_t first; |
273 ngx_msec_t last; | 273 ngx_msec_t last; |
274 ssize_t len; | 274 ssize_t len; |
275 unsigned need_ack:1; | 275 unsigned need_ack:1; |
276 unsigned pkt_need_ack:1; | |
276 unsigned flush:1; | 277 unsigned flush:1; |
277 | 278 |
278 ngx_chain_t *data; | 279 ngx_chain_t *data; |
279 union { | 280 union { |
280 ngx_quic_ack_frame_t ack; | 281 ngx_quic_ack_frame_t ack; |