This is an automated email from the ASF dual-hosted git repository.

dagit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 48e0565  Completes & deduplicates code comment for redirect
48e0565 is described below

commit 48e0565c3c67177bca6ebf6a10015d408d817cb1
Author: Derek Dagit <[email protected]>
AuthorDate: Mon Aug 20 11:41:42 2018 -0500

    Completes & deduplicates code comment for redirect
---
 mgmt/RecordsConfig.cc    | 3 ++-
 proxy/http/HttpConfig.cc | 5 +----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index b918911..17aaaa5 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -163,7 +163,8 @@ static const RecordElement RecordsConfig[] =
   //#
   //# 1. number_of_redirections: The maximum number of redirections TS 
permits. Disabled if set to 0 (default)
   //# 2. proxy.config.http.redirect_use_orig_cache_key: Location Header if set 
to 0 (default), else use original request cache key
-  //# 3. post_copy_size: The maximum POST data size TS permits to copy
+  //# 3. redirection_host_no_port: do not include default port in host header 
during redirection
+  //# 4. post_copy_size: The maximum POST data size TS permits to copy
   //#
   
//##############################################################################
   {RECT_CONFIG, "proxy.config.http.number_of_redirections", RECD_INT, "0", 
RECU_DYNAMIC, RR_NULL, RECC_NULL, nullptr, RECA_NULL}
diff --git a/proxy/http/HttpConfig.cc b/proxy/http/HttpConfig.cc
index 6e04efc..c632bee 100644
--- a/proxy/http/HttpConfig.cc
+++ b/proxy/http/HttpConfig.cc
@@ -1210,10 +1210,7 @@ HttpConfig::startup()
   //#
   //# Redirection
   //#
-  //# 1. number_of_redirections: The maximum number of redirections YTS 
permits. 0 == disabled
-  //# 2. redirect_use_orig_cache_key: if set to 1, use original request cache 
key.
-  //# 3. post_copy_size: The maximum POST data size YTS permits to copy
-  //# 4. redirection_host_no_port: do not include default port in host header 
during redirection
+  //# See RecordsConfig definition.
   //#
   
//##############################################################################
   HttpEstablishStaticConfigByte(c.oride.redirect_use_orig_cache_key, 
"proxy.config.http.redirect_use_orig_cache_key");

Reply via email to