about summary refs log tree commit homepage
path: root/t/test_isolate.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-07-25 09:28:22 +0000
committerEric Wong <normalperson@yhbt.net>2010-07-26 09:23:49 +0000
commit052e2b3608071d9cd9d6b1d12f8cb69ac29124af (patch)
treed1c72552fd8ccc7dd5d3ad3a4dd76fbf68ebea72 /t/test_isolate.rb
parent84ac2eaa8bd16e44420abf660420698f76ad5473 (diff)
downloadrainbows-052e2b3608071d9cd9d6b1d12f8cb69ac29124af.tar.gz
With sendfile enabled, we must avoid writing headers (or normal,
non-file responses) while a file is deferred for sending.  This
means we must disable processing of new requests while a file
is deferred for sending and use the on_write_complete callback
less aggressively.
Diffstat (limited to 't/test_isolate.rb')
-rw-r--r--t/test_isolate.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test_isolate.rb b/t/test_isolate.rb
index f4b4b77..fb911af 100644
--- a/t/test_isolate.rb
+++ b/t/test_isolate.rb
@@ -16,6 +16,7 @@ $stdout.reopen($stderr)
 Isolate.now!(opts) do
   gem 'rack', '1.1.0' # Cramp currently requires ~> 1.1.0
   gem 'unicorn', '1.1.1'
+  gem 'kcar', '0.1.1'
 
   if engine == "ruby"
     gem 'sendfile', '1.0.0' # next Rubinius should support this