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
Revert "http_server: cap timeout at 32-bit LONG_MAX seconds"
[rainbows.git]
/
t
/
simple-http_FiberPool.ru
blob
ae5b6499f63d798743b74d4a70cd912855c2a83a
1
use Rack::ContentLength
2
use Rack::ContentType
3
run lambda { |env|
4
if env['rack.multithread'] == false && env['rainbows.model'] == :FiberPool
5
[ 200, {}, [ Thread.current.inspect << "\n" ] ]
6
else
7
raise "rack.multithread is not true"
8
end
9
}