http: remove xftrust options
commit5bd61b57d63ae86fc246531d3a483c15ee0dcd57
authorEric Wong <e@80x24.org>
Sun, 25 May 2014 04:40:20 +0000 (25 04:40 +0000)
committerEric Wong <e@80x24.org>
Thu, 29 May 2014 20:12:04 +0000 (29 20:12 +0000)
tree9810d265992167770f426a25c003ed362cc25771
parent9f72638e08d7d08eadffe6b0299205b6620f250e
http: remove xftrust options

This has long been considered a mistake and not documented for very
long.

I considered removing X-Forwarded-Proto and X-Forwarded-SSL
handling, too, so rack.url_scheme is always "http", but that might
lead to compatibility issues in rare apps if Rack::Request#scheme is
not used.
ext/unicorn_http/unicorn_http.rl
lib/unicorn/configurator.rb
lib/unicorn/http_server.rb
t/t0016-trust-x-forwarded-false.sh [deleted file]
t/t0017-trust-x-forwarded-true.sh [deleted file]
test/unit/test_http_parser_xftrust.rb [deleted file]