[
https://issues.apache.org/jira/browse/TS-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15345349#comment-15345349
]
ASF GitHub Bot commented on TS-4270:
------------------------------------
Github user zwoop commented on the issue:
https://github.com/apache/trafficserver/pull/732
I'd have to think about this. Fwiw, the way I had envisioned to rewrite
this is to change it to a TxnServer intercept, instead of a Txn intercept. If
you look at e.g. the generator plugin (which works as a remap plugin), you can
see how that works. You basically add the server intercept only per remap
basis, and no longer a global intercept.
> stats_over_http: make it a remap plugin
> ---------------------------------------
>
> Key: TS-4270
> URL: https://issues.apache.org/jira/browse/TS-4270
> Project: Traffic Server
> Issue Type: New Feature
> Components: Plugins
> Reporter: Leif Hedstrom
> Fix For: 7.0.0
>
>
> This would avoid the overhead of checking the request URI path on every
> request, to see if the request should be intercepted. We could user a pattern
> similar to the generator.so plugin, which allows it to be both a remap and
> global plugin, and using TSHttpTxnServerIntercept for the remap case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)