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
doc: cleanup rdoc for Rainbows module
[rainbows.git]
/
t
/
simple-http_XEpollThreadPool.ru
blob
36eb12733333d1711d69ebc58c793baf2373f26b
1
use Rack::ContentLength
2
use Rack::ContentType
3
run lambda { |env|
4
if env['rack.multithread'] == true &&
5
env['rainbows.model'] == :XEpollThreadPool
6
[ 200, {}, [ Thread.current.inspect << "\n" ] ]
7
else
8
raise env.inspect
9
end
10
}