GitHub user manjeshnilange opened a pull request:
https://github.com/apache/trafficserver/pull/91
patch for TS-2834
This patch adds a condition "INTERNAL-TRANSACTION' and makes the client IP
'%<chi>' available for COND arguments. Usage examples
cond %{READ_REQUEST_HDR_HOOK} [AND]
cond %{INTERNAL-TRANSACTION} [NOT]
rm-header client_ip
add-header client_ip %<chi>
cond %{READ_REQUEST_HDR_HOOK} [AND]
cond %{%<chi>} =127.0.0.1 [NOT]
rm-header client_ip
add-header client_ip %<chi>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/manjeshnilange/trafficserver master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/91.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #91
----
commit 7b98b583afdd812cf7884fed9ec0d8c17b780fe1
Author: Manjesh Nilange <[email protected]>
Date: 2014-05-22T22:01:55Z
patch for TS-2834
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---