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