]> git.kaiwu.me - nginx.git/commit
Process events posted by ngx_close_idle_connections() immediately.
authorRoman Arutyunyan <arut@nginx.com>
Fri, 18 Nov 2022 15:31:38 +0000 (19:31 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Fri, 18 Nov 2022 15:31:38 +0000 (19:31 +0400)
commit17066ac8600412eabb1fdf8360cf6ada13f02391
tree477cd7c7f38970d24694136707f2aa4779e9cb4b
parent053e40e5d45ac76ea29b803840222461f501f1e3
Process events posted by ngx_close_idle_connections() immediately.

Previously, if an event was posted by a read event handler, called by
ngx_close_idle_connections(), that event was not processed until the next
event loop iteration, which could happen after a timeout.
src/os/unix/ngx_process_cycle.c
src/os/win32/ngx_process_cycle.c