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
ev_core: ensure quit is triggered on all errors
[rainbows.git]
/
t
/
t2000.ru
blob
aa1accb3188814d092f7125648a997a33a01ad57
1
use Rack::ContentLength
2
use Rack::ContentType
3
run lambda { |env|
4
sleep 1
5
if env['rack.multithread'] && env['rainbows.model'] == :ThreadSpawn
6
[ 200, {}, [ Thread.current.inspect << "\n" ] ]
7
else
8
raise "rack.multithread is not true"
9
end
10
}