apache/trafficserver — pull request #91 by manjeshnilange (2014-05-22 22:03:39+00:00)
Title: patch for TS-2834

This patch adds a condition "INTERNAL-TRANSACTION' and makes the client IP '%' available for COND arguments. Usage examples

cond %{READ_REQUEST_HDR_HOOK} [AND]
cond %{INTERNAL-TRANSACTION} [NOT]
rm-header client_ip
add-header client_ip %

cond %{READ_REQUEST_HDR_HOOK} [AND]
cond %{%} =127.0.0.1 [NOT]
rm-header client_ip
add-header client_ip %