Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
http_request: drop conditional assignment for hijack
As far as I can tell, this was never necessary.
  • Loading branch information
Eric Wong committed Feb 9, 2013
1 parent ed28a36 commit 15c2310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unicorn/http_request.rb
Expand Up @@ -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.
Expand Down

0 comments on commit 15c2310

Please sign in to comment.