TS-2902 Also add the new config to the regression tests

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

Branch: refs/heads/master
Commit: 10be14487652779e95dc9850b15cf28c095af0a0
Parents: f4e5cd6
Author: Leif Hedstrom <zw...@apache.org>
Authored: Tue Aug 19 13:54:23 2014 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Tue Aug 19 13:59:54 2014 -0600

----------------------------------------------------------------------
 proxy/InkAPI.cc     | 1 +
 proxy/InkAPITest.cc | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/10be1448/proxy/InkAPI.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index 265d3ad..6653a57 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -7818,6 +7818,7 @@ _conf_to_memberp(TSOverridableConfigKey conf,
     break;
   case TS_CONFIG_HTTP_POST_CHECK_CONTENT_LENGTH_ENABLED:
     ret = &overridableHttpConfig->post_check_content_length_enabled;
+    break;
   case TS_CONFIG_HTTP_GLOBAL_USER_AGENT_HEADER:
     typ = OVERRIDABLE_TYPE_STRING;
     ret = &overridableHttpConfig->global_user_agent_header;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/10be1448/proxy/InkAPITest.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc
index 0ef6d5a..dd778e7 100644
--- a/proxy/InkAPITest.cc
+++ b/proxy/InkAPITest.cc
@@ -7417,6 +7417,7 @@ const char *SDK_Overridable_Configs[TS_CONFIG_LAST_ENTRY] 
= {
   "proxy.config.http.cache.open_read_retry_time",
   "proxy.config.http.cache.max_open_read_retries",
   "proxy.config.http.cache.range.write",
+  "proxy.config.http.post.check.content_length.enabled",
   "proxy.config.http.global_user_agent_header",
 };
 

Reply via email to