TS-2842: Can't set SPDY inactivity timeout with traffic_line
Reviewed: Bryan Call


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

Branch: refs/heads/5.0.x
Commit: c25f17c9bef3d5e2fabf6c2b71565966ded8dbb3
Parents: 8a2166a
Author: Sudheer Vinukonda <[email protected]>
Authored: Wed May 28 15:01:45 2014 -0700
Committer: Bryan Call <[email protected]>
Committed: Wed May 28 15:01:45 2014 -0700

----------------------------------------------------------------------
 CHANGES               |  2 ++
 mgmt/RecordsConfig.cc | 15 ++++++++++-----
 2 files changed, 12 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c25f17c9/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 2dbba8a..84a8ccc 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 5.0.0
 
+  *) [TS-2842] Can't set SPDY inactivity timeout with traffic_line
+
   *) [TS-2618] IOBufferBlock::realloc()'s bounds check is wrong.
 
   *) [TS-2850] Fix logging of response header length.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c25f17c9/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index 32b1848..b94e44c 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -1931,11 +1931,16 @@ RecordElement RecordsConfig[] = {
   //# SPDY global configuration.
   //#
   //############
-  {RECT_CONFIG, "proxy.config.spdy.max_concurrent_streams_in", RECD_INT, 
"100", RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
-  {RECT_CONFIG, "proxy.config.spdy.no_activity_timeout_in", RECD_INT, "30", 
RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
-  {RECT_CONFIG, "proxy.config.spdy.initial_window_size_in", RECD_INT, "65536", 
RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
-  {RECT_CONFIG, "proxy.config.spdy.verbose_in", RECD_INT, "0", RECU_DYNAMIC, 
RR_NULL, RECC_INT, NULL, RECA_NULL},
-  {RECT_CONFIG, "proxy.config.spdy.accept_no_activity_timeout", RECD_INT, 
"30", RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
+  {RECT_CONFIG, "proxy.config.spdy.max_concurrent_streams_in", RECD_INT, 
"100", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
+  ,
+  {RECT_CONFIG, "proxy.config.spdy.no_activity_timeout_in", RECD_INT, "30", 
RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
+  ,
+  {RECT_CONFIG, "proxy.config.spdy.initial_window_size_in", RECD_INT, "65536", 
RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
+  ,
+  {RECT_CONFIG, "proxy.config.spdy.verbose_in", RECD_INT, "0", RECU_DYNAMIC, 
RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
+  ,
+  {RECT_CONFIG, "proxy.config.spdy.accept_no_activity_timeout", RECD_INT, 
"30", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
+  ,
 
   //# Add LOCAL Records Here
   {RECT_LOCAL, "proxy.local.incoming_ip_to_bind", RECD_STRING, NULL, 
RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL}

Reply via email to