diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-28 00:30:34 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-28 00:30:34 +0000 |
commit | 5cde25e2fb6f7de9143a40da5bad4b91b582fcab (patch) | |
tree | 5824625afe3859cb6994e050f81448efa89dae39 /lib/rainbows/ev_core.rb | |
parent | 63d95ac64949a642596946b2b44b2d0bb7b9fefb (diff) | |
download | rainbows-5cde25e2fb6f7de9143a40da5bad4b91b582fcab.tar.gz |
Diffstat (limited to 'lib/rainbows/ev_core.rb')
-rw-r--r-- | lib/rainbows/ev_core.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb index d4ad040..74e67f3 100644 --- a/lib/rainbows/ev_core.rb +++ b/lib/rainbows/ev_core.rb @@ -7,6 +7,7 @@ module Rainbows include Unicorn include Rainbows::Const G = Rainbows::G + NULL_IO = Unicorn::HttpRequest::NULL_IO # Apps may return this Rack response: AsyncResponse = [ -1, {}, [] ] ASYNC_CALLBACK = "async.callback".freeze @@ -40,7 +41,7 @@ module Rainbows @state = :body len = @hp.content_length if len == 0 - @input = HttpRequest::NULL_IO + @input = NULL_IO app_call # common case else # nil or len > 0 # since we don't do streaming input, we have no choice but |