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

Method getNext

src/api/HttpHookState.cc:57–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57APIHook const *
58HttpHookState::getNext()
59{
60 APIHook const *zret = nullptr;
61
62 Dbg(dbg_ctl_plugin, "computing next callback for hook %d", _id);
63
64 if (zret = _global.candidate(); zret) {
65 ++_global;
66 } else if (zret = _ssn.candidate(); zret) {
67 ++_ssn;
68 } else if (zret = _txn.candidate(); zret) {
69 ++_txn;
70 }
71
72 return zret;
73}
74
75void
76HttpHookState::Scope::init(HttpAPIHooks const *feature_hooks, TSHttpHookID id)

Callers 10

read_configMethod · 0.45
ssl_extract_certificateFunction · 0.45
state_api_calloutMethod · 0.45
do_api_calloutMethod · 0.45
state_api_calloutMethod · 0.45
parseMethod · 0.45
LogFilterStringMethod · 0.45
LogFilterIntMethod · 0.45

Calls 1

candidateMethod · 0.80

Tested by

no test coverage detected