From 15c23106ffc9b7a03fdc2353f41c239f89ac9822 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 9 Feb 2013 01:13:17 +0000 Subject: http_request: drop conditional assignment for hijack As far as I can tell, this was never necessary. --- lib/unicorn/http_request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index 681c0ca..6b20431 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. -- cgit v1.2.3-24-ge0c7