about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index 8c1bed9..8271d25 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -9,6 +9,10 @@ Unicorn::SocketHelper::DEFAULTS.merge!({
   # write(headers)-write(body)-read
   # because we always write headers and bodies with two calls
   :tcp_nodelay => true,
+
+  # we always want to send our headers out ASAP since Rainbows!
+  # is designed for apps that could trickle out the body slowly
+  :tcp_nopush => false,
 })
 
 module Rainbows