diff options
author | Eric Wong <e@80x24.org> | 2015-11-18 03:58:04 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-11-21 01:43:28 +0000 |
commit | df169eb21fd571853bd388079d04e86a59298e9c (patch) | |
tree | 46b25c1d286ae1e1e43c396c856e9a1c9185e4cb | |
parent | 1faa89bcd3ac848a15a141b6e92ac5075ecefdd2 (diff) | |
download | rainbows-df169eb21fd571853bd388079d04e86a59298e9c.tar.gz |
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.rb | 2 |
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 |