]> git.kaiwu.me - nginx.git/commit
QUIC: allowed ngx_quic_frame_sendto() to return NGX_AGAIN.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 8 Aug 2023 06:43:17 +0000 (10:43 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 8 Aug 2023 06:43:17 +0000 (10:43 +0400)
commit58fc5e2830a0fa70810005ca03fdb9a531719696
treeeb1090a0450ab9950fa3101a5cef18b4ee680427
parent8ab38890736128ec0e167ae28d23d3bbfe2a2223
QUIC: allowed ngx_quic_frame_sendto() to return NGX_AGAIN.

Previously, NGX_AGAIN returned by ngx_quic_send() was treated by
ngx_quic_frame_sendto() as error, which triggered errors in its callers.
However, a blocked socket is not an error.  Now NGX_AGAIN is passed as is to
the ngx_quic_frame_sendto() callers, which can safely ignore it.
src/event/quic/ngx_event_quic_migration.c
src/event/quic/ngx_event_quic_output.c