rack: expose "rainbows.model" in Rack environment
commit0836409458e674d701f2be6c26aa85d441959562
authorEric Wong <normalperson@yhbt.net>
Thu, 15 Oct 2009 01:26:42 +0000 (14 18:26 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 15 Oct 2009 01:26:42 +0000 (14 18:26 -0700)
treeefb0eff526d12948fa9e547d0fe57d2508875056
parentb14f5bcec7d9864faed7fcb06028eafe89a4a722
rack: expose "rainbows.model" in Rack environment

This allows applications to determine which concurrency model
they're running under and possibly make adjustments accordingly.
The standard "rack.multithread" isn't enough for some
applications to determine what to do, especially when reentrancy
is required/recommended.
lib/rainbows/http_server.rb