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

Function TSPluginDescriptorAccept

src/api/InkAPI.cc:7815–7828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7813}
7814
7815TSReturnCode
7816TSPluginDescriptorAccept(TSCont contp)
7817{
7818 Action *action = nullptr;
7819
7820 HttpProxyPort::Group &proxy_ports = HttpProxyPort::global();
7821 for (auto &port : proxy_ports) {
7822 if (port.isPlugin()) {
7823 NetProcessor::AcceptOptions net(make_net_accept_options(&port, -1 /* nthreads */));
7824 action = netProcessor.main_accept(reinterpret_cast<INKContInternal *>(contp), port.m_fd, net);
7825 }
7826 }
7827 return action ? TS_SUCCESS : TS_ERROR;
7828}
7829
7830int
7831TSHttpTxnBackgroundFillStarted(TSHttpTxn txnp)

Callers

nothing calls this directly

Calls 3

make_net_accept_optionsFunction · 0.85
isPluginMethod · 0.80
main_acceptMethod · 0.45

Tested by

no test coverage detected