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

Function CacheInternalRequests

plugins/authproxy/authproxy.cc:680–685  ·  view source on GitHub ↗

Return true if the internal requests can be cached.

Source from the content-addressed store, hash-verified

678
679// Return true if the internal requests can be cached.
680static bool
681CacheInternalRequests(TSHttpTxn txn)
682{
683 AuthOptions *opt = static_cast<AuthOptions *>(TSUserArgGet(txn, AuthTaggedRequestArg));
684 return opt ? opt->cache_internal_requests : false;
685}
686
687static int
688AuthProxyGlobalHook(TSCont /* cont ATS_UNUSED */, TSEvent event, void *edata)

Callers 1

AuthProxyGlobalHookFunction · 0.85

Calls 1

TSUserArgGetFunction · 0.85

Tested by

no test coverage detected