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

Function hdr_plugin

example/plugins/c-api/output_header/output_header.cc:140–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static int
141hdr_plugin(TSCont contp, TSEvent event, void *edata)
142{
143 TSHttpTxn txnp = static_cast<TSHttpTxn>(edata);
144
145 switch (event) {
146 case TS_EVENT_HTTP_OS_DNS:
147 handle_dns(txnp, contp);
148 return 0;
149 default:
150 break;
151 }
152
153 return 0;
154}
155
156void
157TSPluginInit(int argc ATS_UNUSED, const char *argv[] ATS_UNUSED)

Callers

nothing calls this directly

Calls 1

handle_dnsFunction · 0.70

Tested by

no test coverage detected