repo.or.cz
/
rainbows.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tests: port all existing tests to TAP library
[rainbows.git]
/
t
/
t3000.ru
blob
9b9c56a039d09cca870df6ba94f9e8645b55b6a1
1
use Rack::ContentLength
2
use Rack::ContentType
3
run lambda { |env|
4
Actor.sleep 1
5
if env['rack.multithread'] == false && env['rainbows.model'] == :Revactor
6
[ 200, {}, [ Thread.current.inspect << "\n" ] ]
7
else
8
raise "rack.multithread is true"
9
end
10
}