From eb8c4130b4be8314d4013c62ce1d0e5bac36cab8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 23 Jul 2020 04:17:35 +0000 Subject: configurator: SIGHUP resets early_hints if unset If a user removes "early_hints" entirely from the config file, a SIGHUP needs to restore the default value. This is consistent with the behavior of all the other configuration variables. Cc: Jean Boussier --- lib/unicorn/configurator.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index b0606af..ecdf03e 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -53,6 +53,7 @@ class Unicorn::Configurator server.logger.info("worker=#{worker.nr} ready") }, :pid => nil, + :early_hints => false, :worker_exec => false, :preload_app => false, :check_client_connection => false, -- cgit v1.2.3-24-ge0c7