diff options
Diffstat (limited to 'lib/rainbows/epoll/client.rb')
-rw-r--r-- | lib/rainbows/epoll/client.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/epoll/client.rb b/lib/rainbows/epoll/client.rb index 490f38b..6bf12f1 100644 --- a/lib/rainbows/epoll/client.rb +++ b/lib/rainbows/epoll/client.rb @@ -49,8 +49,8 @@ module Rainbows::Epoll::Client rescue IOError end - def app_call # called by on_read() - @env[RACK_INPUT] = @input + def app_call input # called by on_read() + @env[RACK_INPUT] = input @env[REMOTE_ADDR] = kgio_addr status, headers, body = APP.call(@env.merge!(RACK_DEFAULTS)) ev_write_response(status, headers, body, @hp.next?) |