| 577 | } |
| 578 | |
| 579 | void |
| 580 | HttpTunnel::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 | |
| 599 | void |
| 600 | HttpTunnel::kill_tunnel() |
no test coverage detected