about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/rainbows.rb4
-rw-r--r--t/test_isolate.rb2
2 files changed, 5 insertions, 1 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
diff --git a/t/test_isolate.rb b/t/test_isolate.rb
index b1f6fe6..7d04eac 100644
--- a/t/test_isolate.rb
+++ b/t/test_isolate.rb
@@ -16,7 +16,7 @@ $stdout.reopen($stderr)
 lock = File.open(__FILE__, "rb")
 lock.flock(File::LOCK_EX)
 Isolate.now!(opts) do
-  gem 'unicorn', '3.3.1'
+  gem 'unicorn', '3.4.0'
   gem 'kcar', '0.1.2'
   gem 'raindrops', '0.4.1'