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

Method InvokePlugin

src/proxy/FetchSM.cc:131–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131int
132FetchSM::InvokePlugin(int event, void *data)
133{
134 EThread *mythread = this_ethread();
135 SCOPED_MUTEX_LOCK(lock, mutex, mythread);
136 if (contp) {
137 SCOPED_MUTEX_LOCK(lock2, contp->mutex, mythread);
138 return contp->handleEvent(event, data);
139 } else {
140 return TS_ERROR;
141 }
142}
143
144bool
145FetchSM::has_body()

Callers

nothing calls this directly

Calls 2

this_ethreadFunction · 0.85
handleEventMethod · 0.45

Tested by

no test coverage detected