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

Method invoke_on_url

plugins/experimental/txn_box/plugin/src/query.cc:996–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994}
995
996Errata
997QueryValueDirective::invoke_on_url(Context &ctx, ts::URL &&url)
998{
999 if (url.is_valid()) {
1000 auto qs = query_value_update(ctx, url.query(), _name, ctx.extract(_expr), true, false);
1001 url.query_set(qs);
1002 ctx.transient_discard();
1003 }
1004 return Errata(S_ERROR, "Failed to update query value {} because the URL could not be found.", _name);
1005}
1006
1007// --
1008class Do_ua_req_query_value : public QueryValueDirective

Callers 1

invokeMethod · 0.80

Calls 6

query_value_updateFunction · 0.85
ErrataClass · 0.85
query_setMethod · 0.80
is_validMethod · 0.45
queryMethod · 0.45
extractMethod · 0.45

Tested by

no test coverage detected