trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject trafficserver git commit: TS-3712: Parse and use proxy.config.http.server_session_sharing.pool configuration value.
Date Mon, 22 Jun 2015 14:15:44 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 95dd7fdf8 -> 098615d05


TS-3712: Parse and use proxy.config.http.server_session_sharing.pool configuration value.


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

Branch: refs/heads/master
Commit: 098615d05b18316e7eed0f5ba66da98a69936423
Parents: 95dd7fd
Author: Alan M. Carroll <solidwallofcode@yahoo-inc.com>
Authored: Mon Jun 22 09:13:34 2015 -0500
Committer: Alan M. Carroll <solidwallofcode@yahoo-inc.com>
Committed: Mon Jun 22 09:13:34 2015 -0500

----------------------------------------------------------------------
 mgmt/RecordsConfig.cc    | 2 +-
 proxy/http/HttpConfig.cc | 2 ++
 proxy/http/HttpConfig.h  | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/098615d0/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index dc02ff0..cfe6b50 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -440,7 +440,7 @@ static const RecordElement RecordsConfig[] =
   ,
   {RECT_CONFIG, "proxy.config.http.disallow_post_100_continue", RECD_INT, "0", RECU_DYNAMIC,
RR_NULL, RECC_NULL, NULL, RECA_NULL}
   ,
-  {RECT_CONFIG, "proxy.config.http.server_session_sharing.match", RECD_STRING, "both", RECU_RESTART_TS,
RR_NULL, RECC_NULL, NULL, RECA_NULL}
+  {RECT_CONFIG, "proxy.config.http.server_session_sharing.match", RECD_STRING, "both", RECU_DYNAMIC,
RR_NULL, RECC_NULL, NULL, RECA_NULL}
   ,
   {RECT_CONFIG, "proxy.config.http.server_session_sharing.pool", RECD_STRING, "thread", RECU_RESTART_TS,
RR_NULL, RECC_NULL, NULL, RECA_NULL}
   ,

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/098615d0/proxy/http/HttpConfig.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpConfig.cc b/proxy/http/HttpConfig.cc
index 77de7b2..8894993 100644
--- a/proxy/http/HttpConfig.cc
+++ b/proxy/http/HttpConfig.cc
@@ -933,6 +933,8 @@ HttpConfig::startup()
   RecRegisterConfigUpdateCb("proxy.config.http.server_session_sharing.match", &http_server_session_sharing_cb,
&c);
   http_config_enum_read("proxy.config.http.server_session_sharing.match", SessionSharingMatchStrings,
                         c.oride.server_session_sharing_match);
+  http_config_enum_read("proxy.config.http.server_session_sharing.pool", SessionSharingPoolStrings,
+                        c.server_session_sharing_pool);
 
   HttpEstablishStaticConfigByte(c.oride.auth_server_session_private, "proxy.config.http.auth_server_session_private");
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/098615d0/proxy/http/HttpConfig.h
----------------------------------------------------------------------
diff --git a/proxy/http/HttpConfig.h b/proxy/http/HttpConfig.h
index 37ddc72..9b39cb6 100644
--- a/proxy/http/HttpConfig.h
+++ b/proxy/http/HttpConfig.h
@@ -853,7 +853,8 @@ inline HttpConfigParams::HttpConfigParams()
     cluster_time_delta(0), redirection_enabled(0), redirection_host_no_port(0), number_of_redirections(1),
post_copy_size(2048),
     ignore_accept_mismatch(0), ignore_accept_language_mismatch(0), ignore_accept_encoding_mismatch(0),
     ignore_accept_charset_mismatch(0), send_100_continue_response(0), disallow_post_100_continue(0),
parser_allow_non_http(1),
-    cache_open_write_fail_action(0), max_post_size(0), synthetic_port(0)
+    cache_open_write_fail_action(0), max_post_size(0), server_session_sharing_pool(TS_SERVER_SESSION_SHARING_POOL_THREAD),
+    synthetic_port(0)
 {
 }
 


Mime
View raw message