From: Eric Wong Date: Sat, 9 Feb 2013 01:13:17 +0000 (+0000) Subject: http_request: drop conditional assignment for hijack X-Git-Tag: v4.6.1~1 X-Git-Url: https://repo.or.cz/w/unicorn.git/commitdiff_plain/15c23106ffc9b7a03fdc2353f41c239f89ac9822 http_request: drop conditional assignment for hijack As far as I can tell, this was never necessary. --- diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index 681c0ca8..6b204319 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -108,7 +108,7 @@ class Unicorn::HttpParser end def hijack_setup(e, socket) - e[RACK_HIJACK] = proc { e[RACK_HIJACK_IO] ||= socket } + e[RACK_HIJACK] = proc { e[RACK_HIJACK_IO] = socket } end else # old Rack, do nothing.