diff options
author | Eric Wong <e@80x24.org> | 2015-11-14 02:47:25 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-11-18 02:20:26 +0000 |
commit | 1a2a82721bf845a3f7e7a3972bc0f41befb25c41 (patch) | |
tree | 98da87ea5d5293b31fa3fd463b6d70b3059a1be3 /lib/rainbows/coolio/thread_client.rb | |
parent | 70c976bdd85bb8515fea01d6ad6074ef472fc2e0 (diff) | |
download | rainbows-1a2a82721bf845a3f7e7a3972bc0f41befb25c41.tar.gz |
unicorn lost the hijack_setup method in version 5, so we must recreate it ourselves.
Diffstat (limited to 'lib/rainbows/coolio/thread_client.rb')
-rw-r--r-- | lib/rainbows/coolio/thread_client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/coolio/thread_client.rb b/lib/rainbows/coolio/thread_client.rb index 4de705f..a3a2ebf 100644 --- a/lib/rainbows/coolio/thread_client.rb +++ b/lib/rainbows/coolio/thread_client.rb @@ -26,7 +26,7 @@ class Rainbows::Coolio::ThreadClient < Rainbows::Coolio::Client def app_response begin @env['REMOTE_ADDR'] = @_io.kgio_addr - @hp.hijack_setup(@env, @_io) + @hp.hijack_setup(@_io) APP.call(@env.merge!(RACK_DEFAULTS)) rescue => e Rainbows::Error.app(e) # we guarantee this does not raise |