rob05c commented on a change in pull request #7467:
URL: https://github.com/apache/trafficserver/pull/7467#discussion_r576937125
##########
File path: include/ts/ts.h
##########
@@ -2601,6 +2602,12 @@ tsapi TSReturnCode TSRemapFromUrlGet(TSHttpTxn txnp,
TSMLoc *urlLocp);
//
tsapi TSReturnCode TSRemapToUrlGet(TSHttpTxn txnp, TSMLoc *urlLocp);
+// Override response behavior, and hard-set the state machine for whether to
succeed or fail, and how.
+tsapi void TSHttpTxnResponseActionSet(TSHttpTxn txnp, TSResponseAction action);
Review comment:
I was on the fence. I went with value, because it needs copied anyway.
But yeah, it's going to be 2 copies, that the compiler probably can't optimize.
I don't object to changing it
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]