Repository: trafficserver Updated Branches: refs/heads/master fed9e7707 -> 2c757abc4
TS-2868: Error setting HSTS max age with traffic_line Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2c757abc Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2c757abc Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2c757abc Branch: refs/heads/master Commit: 2c757abc4eb257a670958e0b6d249a174a6ef0a6 Parents: fed9e77 Author: Bryan Call <[email protected]> Authored: Tue Jun 3 13:19:53 2014 -0700 Committer: Bryan Call <[email protected]> Committed: Tue Jun 3 13:19:53 2014 -0700 ---------------------------------------------------------------------- CHANGES | 2 ++ mgmt/RecordsConfig.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2c757abc/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 8be1423..b510d98 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Changes with Apache Traffic Server 5.0.0 *) [TS-2870] Update SPDY defaults to better match our other defaults. + *) [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/2c757abc/mgmt/RecordsConfig.cc ---------------------------------------------------------------------- diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc index 30b0df7..871c983 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_INT, "[-1-2147483648]", 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_include_subdomains", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL} ,
