I'm not sure if it makes sense to use rack.hijack with a prefork server like unicorn which only works behind nginx, but maybe somebody does...
Eric Wong (2):
http_request: support rack.hijack by default
avoid extra allocation for hijack proc creation
lib/unicorn/http_request.rb | 40 ++++++++++++++++------------------------
1 file changed, 16 insertions(+), 24 deletions(-)
