From: Eric Wong <e@80x24.org>
To: rainbows-public@bogomips.org
Subject: [PATCH 2/3] stream_response_epoll: remove hijack_prepare call
Date: Wed, 18 Nov 2015 03:58:04 +0000 [thread overview]
Message-ID: <20151118035805.29572-3-e@80x24.org> (raw)
In-Reply-To: <20151118035805.29572-1-e@80x24.org>
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
--
EW
next prev parent reply other threads:[~2015-11-18 3:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 3:58 [PATCH 0/3] final round of changes for unicorn 5 compatibility Eric Wong
2015-11-18 3:58 ` [PATCH 1/3] http_server: add master_pid attribute Eric Wong
2015-11-18 3:58 ` Eric Wong [this message]
2015-11-18 3:58 ` [PATCH 3/3] bump to unicorn 5.0.1, use monotonic clock Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/rainbows/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151118035805.29572-3-e@80x24.org \
--to=e@80x24.org \
--cc=rainbows-public@bogomips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/rainbows.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).