about summary refs log tree commit homepage
path: root/lib/unicorn/configurator.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-10 14:58:48 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-10 15:12:21 -0700
commit3e9fe197d4daac14fa98addfcf9be3208c7b96b8 (patch)
treedca6a4d119af3b2b1da1b206d6a5064731d5a1f6 /lib/unicorn/configurator.rb
parent0bd8cb742eadf45969133c13ebc5252b5234ef92 (diff)
downloadunicorn-3e9fe197d4daac14fa98addfcf9be3208c7b96b8.tar.gz
Apparently I was smoking crack and thought they weren't
changeable.  Additionally, SO_REUSEADDR is set by TCPServer.new,
so there's no need to set it ourselves; so avoid putting
extra items in the purgatory.

This allows SIGHUP to change listen options.
Diffstat (limited to 'lib/unicorn/configurator.rb')
-rw-r--r--lib/unicorn/configurator.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 150377b..3fcb892 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -192,10 +192,6 @@ module Unicorn
     #   specified.
     #
     #   Defaults: operating system defaults
-    #
-    # Due to limitations of the operating system, options specified here
-    # cannot affect existing listener sockets in any way, sockets must be
-    # completely closed and rebound.
     def listen(address, opt = { :backlog => 1024 })
       address = expand_addr(address)
       if String === address