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

Method get_producer

include/proxy/http/HttpTunnel.h:573–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573inline HttpTunnelProducer *
574HttpTunnel::get_producer(VConnection *vc)
575{
576 for (int i = 0; i < MAX_PRODUCERS; i++) {
577 if (producers[i].vc == vc) {
578 return producers + i;
579 }
580 }
581 return nullptr;
582}
583
584inline HttpTunnelProducer *
585HttpTunnel::get_producer(HttpTunnelType_t type)

Callers 2

tunnel_handler_postMethod · 0.80
tunnel_handler_pushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected