You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/08/24 23:34:35 UTC
[trafficserver] branch master updated: TS-2220: Fix SDK tests for
proxy.config.http.insert_client_ip.
This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 9c0e7b2 TS-2220: Fix SDK tests for proxy.config.http.insert_client_ip.
9c0e7b2 is described below
commit 9c0e7b2517db264f5e713d22a227dd9cfdeaa37f
Author: James Peach <jp...@apache.org>
AuthorDate: Wed Aug 24 16:33:42 2016 -0700
TS-2220: Fix SDK tests for proxy.config.http.insert_client_ip.
---
proxy/InkAPI.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index 873294a..aac44fc 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -8378,6 +8378,8 @@ TSHttpTxnConfigFind(const char *name, int length, TSOverridableConfigKey *conf,
cnf = TS_CONFIG_HTTP_CHUNKING_ENABLED;
} else if (!strncmp(name, "proxy.config.http.cache.generation", length)) {
cnf = TS_CONFIG_HTTP_CACHE_GENERATION;
+ } else if (!strncmp(name, "proxy.config.http.insert_client_ip", length)) {
+ cnf = TS_CONFIG_HTTP_ANONYMIZE_INSERT_CLIENT_IP;
}
break;
@@ -8630,8 +8632,6 @@ TSHttpTxnConfigFind(const char *name, int length, TSOverridableConfigKey *conf,
case 'p':
if (!strncmp(name, "proxy.config.http.anonymize_remove_client_ip", length)) {
cnf = TS_CONFIG_HTTP_ANONYMIZE_REMOVE_CLIENT_IP;
- } else if (!strncmp(name, "proxy.config.http.insert_client_ip", length)) {
- cnf = TS_CONFIG_HTTP_ANONYMIZE_INSERT_CLIENT_IP;
}
break;
case 'e':
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].