Sha256: 82348f8d96b192d8cc673db52de0a315ec46b349e4ce538c852440fb3c9dc10b

Contents?: true

Size: 261 Bytes

Versions: 9

Compression:

Stored size: 261 Bytes

Contents

use Rack::ContentLength
use Rack::ContentType
run lambda { |env|
  Actor.sleep 1
  if env['rack.multithread'] == false && env['rainbows.model'] == :Revactor
    [ 200, {}, [ Thread.current.inspect << "\n" ] ]
  else
    raise "rack.multithread is true"
  end
}

Version data entries

9 entries across 8 versions & 1 rubygems

Version Path
rainbows-0.9.0 t/simple-http_Revactor.ru
rainbows-0.8.0 t/simple-http_Revactor.ru
rainbows-0.7.0 t/simple-http_Revactor.ru
rainbows-0.6.0 t/simple-http_Revactor.ru
rainbows-0.5.0 t/simple-http_Revactor.ru
rainbows-0.4.0 t/t3000.ru
rainbows-0.4.0 t/simple-http_Revactor.ru
rainbows-0.3.0 t/t3000.ru
rainbows-0.2.0 t/t3000.ru