Repository: trafficserver
Updated Branches:
  refs/heads/5.0.x 9a727b10e -> 7d7cf94cd


Revert "TS-2868: Error setting HSTS max age with traffic_line"

This reverts commit 9a727b10e8e18efd9927531e86c307fa677b943f.


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

Branch: refs/heads/5.0.x
Commit: 7d7cf94cd76549e3ff3191206123d96439f106f7
Parents: 9a727b1
Author: Bryan Call <[email protected]>
Authored: Tue Jun 3 13:05:07 2014 -0700
Committer: Bryan Call <[email protected]>
Committed: Tue Jun 3 13:05:07 2014 -0700

----------------------------------------------------------------------
 CHANGES               | 2 --
 mgmt/RecordsConfig.cc | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7d7cf94c/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index a3c017f..6d8afe7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,8 +1,6 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 5.0.0
 
-  *) [TS-2868] Error setting HSTS max age with traffic_line
-
   *) [TS-2776] Core dump inside openssl library
 
   *) [TS-2845] Commit e6b9cb533 causes problems with stats_over_http

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7d7cf94c/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index ecf1b47..64b5be4 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -1282,7 +1282,7 @@ RecordElement RecordsConfig[] = {
   ,
   {RECT_CONFIG, "proxy.config.ssl.session_cache.timeout", RECD_INT, "0", 
RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL}
   ,
-  {RECT_CONFIG, "proxy.config.ssl.hsts_max_age", RECD_INT, "-1", RECU_DYNAMIC, 
RR_NULL, RECC_STR, "^-?[0-9]+$", RECA_NULL}
+  {RECT_CONFIG, "proxy.config.ssl.hsts_max_age", RECD_INT, "-1", RECU_DYNAMIC, 
RR_NULL, RECC_INT, "[-1-2147483648]", RECA_NULL}
   ,
   {RECT_CONFIG, "proxy.config.ssl.hsts_include_subdomains", RECD_INT, "0", 
RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
   ,

Reply via email to