Github user zwoop commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/834#discussion_r78286562
--- Diff: proxy/api/ts/ts.h ---
@@ -1481,6 +1481,9 @@ tsapi TSReturnCode TSHttpTxnParentProxyGet(TSHttpTxn
txnp, const char **hostname
*/
tsapi void TSHttpTxnParentProxySet(TSHttpTxn txnp, const char *hostname,
int port);
+tsapi TSReturnCode TSHttpTxnParentSelectionUrlGet(TSHttpTxn txnp,
TSMBuffer bufp, TSMLoc obj);
+tsapi TSReturnCode TSHttpTxnParentSelectionUrlSet(TSHttpTxn txnp,
TSMBuffer bufp, TSMLoc obj);
--- End diff --
There's definitely a real use case where you want to do parent selection on
a different (normalized) URL that e.g. the pristine URL or cache key URL. Doing
parent selection on the cache key URL would be a benefit (think of e.g. URLs
with signatures, where you don't want the parent selection to include that
signature).
---
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.
---