diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-21 17:34:21 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-21 17:34:21 -0800 |
commit | 01fbc4a7f2fd5b751b9183d11aa74aadaffd145b (patch) | |
tree | f672c1ae40267c88e5bce7662b6e361c93548c01 /lib/rainbows/coolio/thread_client.rb | |
parent | 9719da13b8aabeabbf2eebc37f127e88550c3121 (diff) | |
download | rainbows-01fbc4a7f2fd5b751b9183d11aa74aadaffd145b.tar.gz |
No need to setting an ivar for most requests
Diffstat (limited to 'lib/rainbows/coolio/thread_client.rb')
-rw-r--r-- | lib/rainbows/coolio/thread_client.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/coolio/thread_client.rb b/lib/rainbows/coolio/thread_client.rb index b837115..abc11d2 100644 --- a/lib/rainbows/coolio/thread_client.rb +++ b/lib/rainbows/coolio/thread_client.rb @@ -5,10 +5,10 @@ RUBY_VERSION =~ %r{\A1\.8} and warn "Coolio and Threads do not mix well under Ruby 1.8" class Rainbows::Coolio::ThreadClient < Rainbows::Coolio::Client - def app_call + def app_call input KATO.delete(self) disable if enabled? - @env[RACK_INPUT] = @input + @env[RACK_INPUT] = input app_dispatch # must be implemented by subclass end |