about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <bofh@yhbt.net>2020-07-23 04:17:35 +0000
committerEric Wong <bofh@yhbt.net>2020-07-24 06:03:52 +0000
commiteb8c4130b4be8314d4013c62ce1d0e5bac36cab8 (patch)
tree6cbbacbcb7179b9926930077ad534e1233baa103
parent3137c81b3653f2348bbcedb97aae937ba9469299 (diff)
downloadunicorn-eb8c4130b4be8314d4013c62ce1d0e5bac36cab8.tar.gz
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 <jean.boussier@gmail.com>
-rw-r--r--lib/unicorn/configurator.rb1
1 files changed, 1 insertions, 0 deletions
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,