| 815 | } |
| 816 | |
| 817 | void |
| 818 | HttpTunnel::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 | // |
no test coverage detected