about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-11-18 03:58:04 +0000
committerEric Wong <e@80x24.org>2015-11-21 01:43:28 +0000
commitdf169eb21fd571853bd388079d04e86a59298e9c (patch)
tree46b25c1d286ae1e1e43c396c856e9a1c9185e4cb
parent1faa89bcd3ac848a15a141b6e92ac5075ecefdd2 (diff)
unicorn 5.0.0 assumes Rack hijack is always available if
the application tries to use it, so the wrapper method
is removed.
-rw-r--r--lib/rainbows/stream_response_epoll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/stream_response_epoll.rb b/lib/rainbows/stream_response_epoll.rb
index c36acaf..7c2f4f6 100644
--- a/lib/rainbows/stream_response_epoll.rb
+++ b/lib/rainbows/stream_response_epoll.rb
@@ -34,7 +34,7 @@ module Rainbows::StreamResponseEpoll
       headers.each do |key, value|
         case key
         when "rack.hijack"
-          hijack = hijack_prepare(value)
+          hijack = value
           body = nil # ensure we do not close body
         else
           if /\n/ =~ value