diff options
author | Eric Wong <e@80x24.org> | 2015-07-15 22:03:53 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-07-15 22:03:53 +0000 |
commit | 4e7cab9f1727eccd90780d1ceb14948e0ace36a6 (patch) | |
tree | 9746e1c785ea12e6dd0170d0e83d8063fc1c8217 /lib/unicorn/socket_helper.rb | |
parent | 4ae3f3e34c13f4df8540f5bce3a002c5c2226f80 (diff) | |
download | unicorn-4e7cab9f1727eccd90780d1ceb14948e0ace36a6.tar.gz |
They'll continue to be maintained, but we're no longer advertising them. Also, favor lowercase "unicorn" while we're at it since that matches the executable and gem name to avoid unnecessary escaping for RDoc.
Diffstat (limited to 'lib/unicorn/socket_helper.rb')
-rw-r--r-- | lib/unicorn/socket_helper.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/unicorn/socket_helper.rb b/lib/unicorn/socket_helper.rb index 812ac53..df8315e 100644 --- a/lib/unicorn/socket_helper.rb +++ b/lib/unicorn/socket_helper.rb @@ -5,14 +5,12 @@ require 'socket' module Unicorn module SocketHelper - # internal interface, only used by Rainbows!/Zbatery + # internal interface DEFAULTS = { # The semantics for TCP_DEFER_ACCEPT changed in Linux 2.6.32+ # with commit d1b99ba41d6c5aa1ed2fc634323449dd656899e9 - # This change shouldn't affect Unicorn users behind nginx (a - # value of 1 remains an optimization), but Rainbows! users may - # want to use a higher value on Linux 2.6.32+ to protect against - # denial-of-service attacks + # This change shouldn't affect unicorn users behind nginx (a + # value of 1 remains an optimization). :tcp_defer_accept => 1, # FreeBSD, we need to override this to 'dataready' if we |