From df169eb21fd571853bd388079d04e86a59298e9c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 18 Nov 2015 03:58:04 +0000 Subject: stream_response_epoll: remove hijack_prepare call unicorn 5.0.0 assumes Rack hijack is always available if the application tries to use it, so the wrapper method is removed. --- lib/rainbows/stream_response_epoll.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-ge0c7