Permalink
Browse files

http_request: drop conditional assignment for hijack

As far as I can tell, this was never necessary.
  • Loading branch information...
Eric Wong
Eric Wong committed Feb 9, 2013
1 parent ed28a36 commit 15c23106ffc9b7a03fdc2353f41c239f89ac9822
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/unicorn/http_request.rb
@@ -108,7 +108,7 @@ def hijacked?
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.

0 comments on commit 15c2310

Please sign in to comment.