You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "zwoop (via GitHub)" <gi...@apache.org> on 2024/11/14 19:42:15 UTC
[PR] Adds a HTTP-CNTL condition to header_rewrite [trafficserver]
zwoop opened a new pull request, #11863:
URL: https://github.com/apache/trafficserver/pull/11863
For example, this can be useful to avoid doing computationally expensive HRW rules if logging is turned off, if the computation is only used when producing logs.
```
cond %{SEND_RESPONSE_HDR_HOOK} [AND]
cond %{HTTP-CNTL:LOGGING}
# Do expensive stuff here
```
I also cleaned up docs a bit, the operators and conditions are supposed to be in alphabetic order.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adds a HTTP-CNTL condition to header_rewrite [trafficserver]
Posted by "zwoop (via GitHub)" <gi...@apache.org>.
zwoop merged PR #11863:
URL: https://github.com/apache/trafficserver/pull/11863
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org