]> git.kaiwu.me - nginx.git/commit
QUIC: handle EAGAIN properly on UDP sockets.
authorVladimir Homutov <vl@nginx.com>
Wed, 28 Jul 2021 14:23:18 +0000 (17:23 +0300)
committerVladimir Homutov <vl@nginx.com>
Wed, 28 Jul 2021 14:23:18 +0000 (17:23 +0300)
commitcc3752ce8e7d2ff93df3da054cec2cccbbcfe260
tree6156145a8e4d54dd00aba2b93430cb564b95e7ae
parent5bb45c98a73044ce2b7f389c7764cc10cc869bed
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.
src/event/quic/ngx_event_quic.c
src/event/quic/ngx_event_quic_connection.h
src/event/quic/ngx_event_quic_migration.c
src/event/quic/ngx_event_quic_output.c
src/event/quic/ngx_event_quic_transport.h