MCPcopy Create free account
hub / github.com/apache/trafficserver / AuthRequestIsTagged

Function AuthRequestIsTagged

plugins/authproxy/authproxy.cc:673–677  ·  view source on GitHub ↗

Return true if the given request was tagged by a remap rule as needing authorization.

Source from the content-addressed store, hash-verified

671// Return true if the given request was tagged by a remap rule as needing
672// authorization.
673static bool
674AuthRequestIsTagged(TSHttpTxn txn)
675{
676 return AuthTaggedRequestArg != -1 && TSUserArgGet(txn, AuthTaggedRequestArg) != nullptr;
677}
678
679// Return true if the internal requests can be cached.
680static bool

Callers 1

AuthProxyGlobalHookFunction · 0.85

Calls 1

TSUserArgGetFunction · 0.85

Tested by

no test coverage detected