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

Function InterceptGetThisSide

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

Return the InterceptIO control block that owns the given VC.

Source from the content-addressed store, hash-verified

147
148// Return the InterceptIO control block that owns the given VC.
149static InterceptIO *
150InterceptGetThisSide(InterceptState *istate, TSVConn vc)
151{
152 return (istate->client.vc == vc) ? &istate->client : &istate->server;
153}
154
155// Return the InterceptIO control block that doesn't own the given VC.
156static InterceptIO *

Callers 1

InterceptInterceptHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected