diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-27 07:18:49 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-27 07:34:21 +0000 |
commit | 3a250fcfb9fcfa0ab3a8105821e670563025faa4 (patch) | |
tree | 2105314936e65bd9a9a18f1f7908ba99f221bbd9 /t/simple-http_CoolioThreadSpawn.ru | |
parent | 2873361069dc2f8c793875316a0a2c9b8fa54761 (diff) | |
download | rainbows-3a250fcfb9fcfa0ab3a8105821e670563025faa4.tar.gz |
Cool.io is the new name for Rev. We'll continue to support Rev until Cool.io breaks backwards compatibility. Rev may not be supported if Cool.io is.
Diffstat (limited to 't/simple-http_CoolioThreadSpawn.ru')
-rw-r--r-- | t/simple-http_CoolioThreadSpawn.ru | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/simple-http_CoolioThreadSpawn.ru b/t/simple-http_CoolioThreadSpawn.ru new file mode 100644 index 0000000..3c4bcaa --- /dev/null +++ b/t/simple-http_CoolioThreadSpawn.ru @@ -0,0 +1,9 @@ +use Rack::ContentLength +use Rack::ContentType +run lambda { |env| + if env['rack.multithread'] && env['rainbows.model'] == :CoolioThreadSpawn + [ 200, {}, [ env.inspect << "\n" ] ] + else + raise "rack.multithread is false" + end +} |