diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-25 16:34:33 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-26 02:26:22 -0700 |
commit | fa93a16ede574df6159497a526153a9978b66dd1 (patch) | |
tree | 7df4902849493bdf7a5547153e4c5934cbef9b13 /t/simple-http_EventMachine.ru | |
parent | 8487d928f9581d98aee14e1991f129422278367c (diff) | |
download | rainbows-fa93a16ede574df6159497a526153a9978b66dd1.tar.gz |
log reopens, graceful shutdown, HTTP error responses should all be working now.
Diffstat (limited to 't/simple-http_EventMachine.ru')
-rw-r--r-- | t/simple-http_EventMachine.ru | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/simple-http_EventMachine.ru b/t/simple-http_EventMachine.ru new file mode 100644 index 0000000..192b908 --- /dev/null +++ b/t/simple-http_EventMachine.ru @@ -0,0 +1,9 @@ +use Rack::ContentLength +use Rack::ContentType +run lambda { |env| + if env['rack.multithread'] == false && env['rainbows.model'] == :EventMachine + [ 200, {}, [ env.inspect << "\n" ] ] + else + raise "rack.multithread is true" + end +} |