rainbows.git about / heads / tags Unicorn for sleepy apps and slow clients
blob ae5b6499f63d798743b74d4a70cd912855c2a83a 250 bytes (raw) $ git show v5.1.0:t/simple-http_FiberPool.ru # shows this blob on the CLI
1 2 3 4 5 6 7 8 9
use Rack::ContentLength use Rack::ContentType run lambda { |env| if env['rack.multithread'] == false && env['rainbows.model'] == :FiberPool [ 200, {}, [ Thread.current.inspect << "\n" ] ] else raise "rack.multithread is not true" end }
git clone https://yhbt.net/rainbows.git