Sha256: a732537216d1ac4b82d463d2838b87b431dbb8610b0b948a30b8f852a22fb839

Contents?: true

Size: 263 Bytes

Versions: 47

Compression:

Stored size: 263 Bytes

Contents

use Rack::ContentLength
use Rack::ContentType
run lambda { |env|
  if env['rack.multithread'] == false &&
    EM.reactor_running? &&
    env['rainbows.model'] == :NeverBlock
    [ 200, {}, [ Thread.current.inspect << "\n" ] ]
  else
    raise env.inspect
  end
}

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
rainbows-0.91.0 t/simple-http_NeverBlock.ru
rainbows-0.90.2 t/simple-http_NeverBlock.ru
rainbows-0.90.1 t/simple-http_NeverBlock.ru
rainbows-0.90.0 t/simple-http_NeverBlock.ru
rainbows-0.9.0 t/simple-http_NeverBlock.ru
rainbows-0.8.0 t/simple-http_NeverBlock.ru
rainbows-0.7.0 t/simple-http_NeverBlock.ru