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

Method reset

src/proxy/http/HttpTunnel.cc:579–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579void
580HttpTunnel::reset()
581{
582 ink_assert(active == false);
583#ifdef DEBUG
584 for (auto &producer : producers) {
585 ink_assert(producer.alive == false);
586 }
587 for (auto &consumer : consumers) {
588 ink_assert(consumer.alive == false);
589 }
590#endif
591
592 call_sm = false;
593 num_producers = 0;
594 num_consumers = 0;
595 ink_zero(consumers);
596 ink_zero(producers);
597}
598
599void
600HttpTunnel::kill_tunnel()

Callers 15

kill_tunnelMethod · 0.95
findParentMethod · 0.45
parentExistsMethod · 0.45
~ProxySessionMethod · 0.45
tunnel_handler_pushMethod · 0.45
do_http_server_openMethod · 0.45
handle_post_failureMethod · 0.45

Calls 1

ink_zeroFunction · 0.85

Tested by

no test coverage detected