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

Function InterceptProxySide

example/plugins/c-api/intercept/intercept.cc:164–168  ·  view source on GitHub ↗

Evaluates to a human-readable name for a TSVConn in the intercept proxy state.

Source from the content-addressed store, hash-verified

162// Evaluates to a human-readable name for a TSVConn in the
163// intercept proxy state.
164static const char *
165InterceptProxySide(const InterceptState *istate, const InterceptIO *io)
166{
167 return (io == &istate->client) ? "<client>" : (io == &istate->server) ? "<server>" : "<unknown>";
168}
169
170static const char *
171InterceptProxySideVC(const InterceptState *istate, TSVConn vc)

Callers 1

InterceptInterceptHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected