support for Rack hijack in request and response
authorEric Wong <normalperson@yhbt.net>
Tue, 22 Jan 2013 11:04:52 +0000 (11:04 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 22 Jan 2013 11:43:06 +0000 (11:43 +0000)
commit705cf5fcf8ccb37deef5d2b922d6d78d34765c5b
tree19b250d132aa1c4f9a50b59d1096cf4ce8a34122
parentfaf1edc74c9bb35cf4e131d794c1923bf124aa1c
support for Rack hijack in request and response

Rack 1.5.0 (protocol version [1,2]) adds support for
hijacking the client socket (removing it from the control
of unicorn (or any other Rack webserver)).

Tested with rack 1.5.0.
lib/unicorn/http_request.rb
lib/unicorn/http_response.rb
lib/unicorn/http_server.rb
t/hijack.ru [new file with mode: 0644]
t/t0005-working_directory_app.rb.sh
t/t0200-rack-hijack.sh [new file with mode: 0755]