Repository: trafficserver Updated Branches: refs/heads/master fc8608b2f -> 7d15f72c0
TS-3820 Change the default for proxy.config.http.redirect_host_no_port This will now enable this feature by default, and therefore, should also be backported to 6.0.0. The point of this option is to avoid adding the port to the redirected host, unless required. This is already standard ATS practices, and we made this option to be backwards compatible. I think for 7.0.0, we should simply remove this option completely unless someone is using it still at that point. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/7d15f72c Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/7d15f72c Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/7d15f72c Branch: refs/heads/master Commit: 7d15f72c0798a8599eab201d16e5b5e9e16a6c71 Parents: fc8608b Author: Leif Hedstrom <[email protected]> Authored: Tue Aug 18 09:14:34 2015 -0600 Committer: Leif Hedstrom <[email protected]> Committed: Tue Aug 18 09:14:34 2015 -0600 ---------------------------------------------------------------------- mgmt/RecordsConfig.cc | 2 +- proxy/http/HttpConfig.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7d15f72c/mgmt/RecordsConfig.cc ---------------------------------------------------------------------- diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc index fc0c6b6..3d2d2b0 100644 --- a/mgmt/RecordsConfig.cc +++ b/mgmt/RecordsConfig.cc @@ -169,7 +169,7 @@ static const RecordElement RecordsConfig[] = , {RECT_CONFIG, "proxy.config.http.number_of_redirections", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL} , - {RECT_CONFIG, "proxy.config.http.redirect_host_no_port", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL} + {RECT_CONFIG, "proxy.config.http.redirect_host_no_port", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL} , {RECT_CONFIG, "proxy.config.http.post_copy_size", RECD_INT, "2048", RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL} , http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7d15f72c/proxy/http/HttpConfig.h ---------------------------------------------------------------------- diff --git a/proxy/http/HttpConfig.h b/proxy/http/HttpConfig.h index fbedf97..c963361 100644 --- a/proxy/http/HttpConfig.h +++ b/proxy/http/HttpConfig.h @@ -854,7 +854,7 @@ inline HttpConfigParams::HttpConfigParams() cache_vary_default_other(NULL), max_cache_open_write_retries(1), cache_enable_default_vary_headers(0), cache_post_method(0), connect_ports_string(NULL), connect_ports(NULL), push_method_enabled(0), referer_filter_enabled(0), referer_format_redirect(0), reverse_proxy_enabled(0), url_remap_required(1), record_cop_page(0), errors_log_error_pages(1), enable_http_info(0), - cluster_time_delta(0), redirection_enabled(0), redirection_host_no_port(0), number_of_redirections(1), post_copy_size(2048), + cluster_time_delta(0), redirection_enabled(0), redirection_host_no_port(1), number_of_redirections(1), post_copy_size(2048), ignore_accept_mismatch(0), ignore_accept_language_mismatch(0), ignore_accept_encoding_mismatch(0), ignore_accept_charset_mismatch(0), send_100_continue_response(0), disallow_post_100_continue(0), parser_allow_non_http(1), max_post_size(0), server_session_sharing_pool(TS_SERVER_SESSION_SHARING_POOL_THREAD), synthetic_port(0)
