about summary refs log tree commit homepage
path: root/lib/unicorn/configurator.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-10-29 00:36:49 +0000
committerEric Wong <normalperson@yhbt.net>2013-10-29 00:36:49 +0000
commit03580a19afe5ce76323a7366b92243a94d445de1 (patch)
tree8914969ef64cbfa5fd291493b6a459781bb97dbc /lib/unicorn/configurator.rb
parentf078eb93d343bb27cf5c6dc84efbe7c598d572fb (diff)
downloadunicorn-03580a19afe5ce76323a7366b92243a94d445de1.tar.gz
In case we (and Linux) supports other values in the future,
we can update it then.  Until now, ensure users only set
true or false for this option.
Diffstat (limited to 'lib/unicorn/configurator.rb')
-rw-r--r--lib/unicorn/configurator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index fc3405a..9406223 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -415,7 +415,7 @@ class Unicorn::Configurator
         Integer === value or
           raise ArgumentError, "not an integer: #{key}=#{value.inspect}"
       end
-      [ :tcp_nodelay, :tcp_nopush, :ipv6only ].each do |key|
+      [ :tcp_nodelay, :tcp_nopush, :ipv6only, :reuseport ].each do |key|
         (value = options[key]).nil? and next
         TrueClass === value || FalseClass === value or
           raise ArgumentError, "not boolean: #{key}=#{value.inspect}"