Rakefile: resync with Unicorn
[rainbows.git] / t / simple-http_ThreadSpawn.ru
blobaa1accb3188814d092f7125648a997a33a01ad57
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   sleep 1
5   if env['rack.multithread'] && env['rainbows.model'] == :ThreadSpawn
6     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
7   else
8     raise "rack.multithread is not true"
9   end