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

Method kill_tunnel

src/proxy/http/HttpTunnel.cc:599–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599void
600HttpTunnel::kill_tunnel()
601{
602 for (auto &producer : producers) {
603 if (producer.vc != nullptr) {
604 chain_abort_all(&producer);
605 }
606 ink_assert(producer.alive == false);
607 }
608 active = false;
609 this->mark_tls_tunnel_inactive();
610 this->deallocate_buffers();
611 this->reset();
612}
613
614void
615HttpTunnel::abort_tunnel()

Callers 3

kill_thisMethod · 0.80

Calls 3

deallocate_buffersMethod · 0.95
resetMethod · 0.95

Tested by

no test coverage detected