TSHttpTxnParentSelectionUrlSet
include <ts/ts.h>
(TSHttpTxn txnp, bufp, TSMLoc offset)
TSHttpTxnParentSelectionUrlGet
(TSHttpTxn txnp, bufp, TSMLoc offset)
These API functions allow an over-ride URL to be defined such that the over-ride URL is hashed instead of the normal (header request) URL. In addition, any filtering options that may be applied to the normal URL (such as qstring) are NOT applied to the over-ride URL since it is assumed that custom filtering has already been performed prior to explicitly setting the over-ride URL.
Note that the normal URL is only hashed on the path and query string portion (optionally excluded with the qstring option). However, the over-ride URL is hashed on the entire URL string as returned by URL::string_get_ref(). This includes the scheme and hostname such as “” which occur prior to the path.
will get the over-ride URL.
TSAPI(3ts), TSUrlCreate(3ts), TSUrlStringGet(3ts)