You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2014/05/22 00:11:24 UTC

[02/12] git commit: TS-2274 Disable pristine_host_hdr by default

TS-2274 Disable pristine_host_hdr by default


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c166b274
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c166b274
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c166b274

Branch: refs/heads/master
Commit: c166b274fb646f422279a98b4c5c30c88b23c757
Parents: 163cee1
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed May 21 15:39:04 2014 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed May 21 16:10:48 2014 -0600

----------------------------------------------------------------------
 mgmt/RecordsConfig.cc                  | 2 +-
 proxy/config/records.config.default.in | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c166b274/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index 9a1549c..98614c5 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -1214,7 +1214,7 @@ RecordElement RecordsConfig[] = {
   ,
   {RECT_CONFIG, "proxy.config.url_remap.remap_required", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
   ,
-  {RECT_CONFIG, "proxy.config.url_remap.pristine_host_hdr", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
+  {RECT_CONFIG, "proxy.config.url_remap.pristine_host_hdr", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
   ,
   // url remap mode
   // # 0 - same as URL_REMAP_ALL (instead of disabling all remapping)

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c166b274/proxy/config/records.config.default.in
----------------------------------------------------------------------
diff --git a/proxy/config/records.config.default.in b/proxy/config/records.config.default.in
index a648f20..bc35db0 100644
--- a/proxy/config/records.config.default.in
+++ b/proxy/config/records.config.default.in
@@ -95,8 +95,8 @@ CONFIG proxy.config.http.push_method_enabled INT 0
 #    http://docs.trafficserver.apache.org/records.config#cache-control
 #    http://docs.trafficserver.apache.org/en/latest/reference/configuration/cache.config.en.html
 ##############################################################################
-CONFIG proxy.config.http.cache.ignore_client_cc_max_age INT 0
-CONFIG proxy.config.http.normalize_ae_gzip INT 0
+CONFIG proxy.config.http.cache.ignore_client_cc_max_age INT 1
+CONFIG proxy.config.http.normalize_ae_gzip INT 1
 CONFIG proxy.config.http.cache.cache_responses_to_cookies INT 1
 CONFIG proxy.config.http.cache.cache_urls_that_look_dynamic INT 1
     # http://docs.trafficserver.apache.org/records.config#proxy-config-http-cache-when-to-revalidate
@@ -154,7 +154,7 @@ CONFIG proxy.config.log.auto_delete_rolled_files INT 1
 ##############################################################################
 CONFIG proxy.config.url_remap.remap_required INT 1
     # http://docs.trafficserver.apache.org/records.config#proxy-config-url-remap-pristine-host-hdr
-CONFIG proxy.config.url_remap.pristine_host_hdr INT 1
+CONFIG proxy.config.url_remap.pristine_host_hdr INT 0
 
 ##############################################################################
 # SSL Termination. Docs: