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

Method chain

src/proxy/http/HttpTunnel.cc:817–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

815}
816
817void
818HttpTunnel::chain(HttpTunnelConsumer *c, HttpTunnelProducer *p)
819{
820 p->self_consumer = c;
821 c->self_producer = p;
822 // If the flow is already throttled update the chained producer.
823 if (c->producer->is_throttled()) {
824 p->set_throttle_src(c->producer->flow_control_source);
825 }
826}
827
828// void HttpTunnel::tunnel_run()
829//

Calls 2

set_throttle_srcMethod · 0.80
is_throttledMethod · 0.45

Tested by

no test coverage detected