You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openresty/t
spacewander cf7516fcbc optimize: added an NGINX core patch to ensure unused listening fds are closed when 'reuseport' is used.
When `reuseport` is enabled in the `listen` directive, Nginx will create
a listening fd for each worker process in the master process.

These fds will be inherited by the worker processes, but most of them
are unused. For example, considering we have 32 listening ip:port
configurations and 64 worker processes, each worker process will inherit
2048 (32 * 64) listening fds, but only 32 fds are used. By closing the
unused fds, this change could save up to 2016 (32 * 63) fds in a worker
process.

It doesn't affect the listening socket, since there is only one used fd
which associates to the socket with or without this change.

Co-authored-by: Thibault Charbonnier <thibaultcha@me.com>
5 years ago
..
001-resolver.t test: fixed test failure due to NGINX core change introduced in 1.15.1 6 years ago
002-reuseport-close-unused-fds.t optimize: added an NGINX core patch to ensure unused listening fds are closed when 'reuseport' is used. 5 years ago
Config.pm bugfix: Config.pm: fixed an issue when generating t/sanity.t_. 5 years ago
sanity.t upgraded the nginx core to 1.17.1. 5 years ago