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
reverse_proxy: properly read IPv6 addreses in upstreams
[rainbows.git]
/
t
/
simple-http_XAcceptEpoll.ru
blob
fc0baa6b3cc643d168f7ca1a95133b5d50d83758
1
use Rack::ContentLength
2
use Rack::ContentType
3
run lambda { |env|
4
if env['rack.multithread'] == false && env['rainbows.model'] == :XAcceptEpoll
5
[ 200, {}, [ Thread.current.inspect << "\n" ] ]
6
else
7
raise env.inspect
8
end
9
}