From 3e9fe197d4daac14fa98addfcf9be3208c7b96b8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 10 Apr 2009 14:58:48 -0700 Subject: listen backlog, sndbuf, rcvbuf are always changeable 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. --- lib/unicorn/configurator.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/unicorn/configurator.rb') 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 -- cgit v1.2.3-24-ge0c7