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

Method eval

plugins/header_rewrite/conditions.cc:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool
66ConditionStatus::eval(const Resources &res)
67{
68 Dbg(pi_dbg_ctl, "Evaluating STATUS()");
69 return static_cast<MatcherType *>(_matcher)->test(res.resp_status, res);
70}
71
72void
73ConditionStatus::append_value(std::string &s, const Resources &res)

Callers 3

RuleSetClass · 0.45
cont_rewrite_headersFunction · 0.45
TSRemapDoRemapFunction · 0.45

Calls 14

TSHttpTxnIsInternalFunction · 0.85
getClientAddrFunction · 0.85
TSHttpTxnIncomingAddrGetFunction · 0.85
TSHttpTxnServerAddrGetFunction · 0.85
TSHttpTxnOutgoingAddrGetFunction · 0.85
TSHttpTxnIdGetFunction · 0.85
TSHttpTxnCntlGetFunction · 0.85
TSUserArgGetFunction · 0.85
TSErrorFunction · 0.70
testMethod · 0.45

Tested by

no test coverage detected