http_request: support rack.hijack by default
commitfdf09e562733f9509d275cb13c1c1a04e579a68a
authorEric Wong <e@80x24.org>
Thu, 7 May 2015 21:43:42 +0000 (7 21:43 +0000)
committerEric Wong <e@80x24.org>
Sat, 16 May 2015 21:23:57 +0000 (16 21:23 +0000)
treed6718748b1c178d07b6f99a6bc69a282e6c84da7
parentd032af0b4aba8df8433250ae6372c64dfab299f9
http_request: support rack.hijack by default

Rack 1.4 and earlier will soon die out, so avoid having extra code

The only minor overhead is assigning two hash slots and
the extra hash checks when running ancient versions of Rack,
so it is unlikely anybody cares about that overhead with Rack 1.5
and later.
lib/unicorn/http_request.rb