diff options
author | Eric Wong <e@80x24.org> | 2014-05-25 04:40:20 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-05-29 20:12:04 +0000 |
commit | 5bd61b57d63ae86fc246531d3a483c15ee0dcd57 (patch) | |
tree | 9810d265992167770f426a25c003ed362cc25771 /lib/unicorn/http_server.rb | |
parent | 9f72638e08d7d08eadffe6b0299205b6620f250e (diff) | |
download | unicorn-5bd61b57d63ae86fc246531d3a483c15ee0dcd57.tar.gz |
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.
Diffstat (limited to 'lib/unicorn/http_server.rb')
-rw-r--r-- | lib/unicorn/http_server.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb index a0ca302..819a0a8 100644 --- a/lib/unicorn/http_server.rb +++ b/lib/unicorn/http_server.rb @@ -369,14 +369,6 @@ class Unicorn::HttpServer Unicorn::TeeInput.client_body_buffer_size = bytes end - def trust_x_forwarded - Unicorn::HttpParser.trust_x_forwarded? - end - - def trust_x_forwarded=(bool) - Unicorn::HttpParser.trust_x_forwarded = bool - end - def check_client_connection Unicorn::HttpRequest.check_client_connection end |