coolio+xepoll_thread*: use shutdown() for keepalive timeout
[rainbows.git] / t / simple-http_WriterThreadPool.ru
blob0514db4cb21c45767d9fa4035ac25c2c8f177c85
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] && env['rainbows.model'] == :WriterThreadPool
5     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
6   else
7     raise "rack.multithread is false"
8   end